diff options
| author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-02-04 16:47:52 +0000 |
|---|---|---|
| committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-02-04 16:47:52 +0000 |
| commit | 9073ab1abc3a193ba968f8bdebdd32c2c063a904 (patch) | |
| tree | fa6c08591ad2eeb20c091f752fa4caf4cbc971fb /packages/qemu/qemu-0.9.1/writev_fix.patch | |
| parent | f1137491d832b77436448bd942bc0c42df6488d4 (diff) | |
| parent | 51b34dcb5a457c204776c6602838c6bad4c5946e (diff) | |
merge of '3a89dabf7f758f7d9957d9dfebb5e383d9096d6e'
and 'fe3ce31a0e6060324326d5a27cdba01788c95b7b'
Diffstat (limited to 'packages/qemu/qemu-0.9.1/writev_fix.patch')
| -rw-r--r-- | packages/qemu/qemu-0.9.1/writev_fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/qemu/qemu-0.9.1/writev_fix.patch b/packages/qemu/qemu-0.9.1/writev_fix.patch new file mode 100644 index 0000000000..e0ed4af972 --- /dev/null +++ b/packages/qemu/qemu-0.9.1/writev_fix.patch @@ -0,0 +1,17 @@ +--- + linux-user/syscall.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: qemu-0.9.1/linux-user/syscall.c +=================================================================== +--- qemu-0.9.1.orig/linux-user/syscall.c 2008-02-03 00:00:00.000000000 +0000 ++++ qemu-0.9.1/linux-user/syscall.c 2008-02-03 00:00:38.000000000 +0000 +@@ -1048,7 +1048,7 @@ static abi_long lock_iovec(int type, str + base = tswapl(target_vec[i].iov_base); + vec[i].iov_len = tswapl(target_vec[i].iov_len); + vec[i].iov_base = lock_user(type, base, vec[i].iov_len, copy); +- if (!vec[i].iov_base) ++ if (!vec[i].iov_base && vec[i].iov_len) + goto fail; + } + unlock_user (target_vec, target_addr, 0); |
