Fix typo in poll wrapper

Patch from Ivo Raisr via BZ#330941


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13795
This commit is contained in:
Tom Hughes 2014-02-09 11:10:08 +00:00
parent 74e8b94ed7
commit 1cdbef5fd8
5 changed files with 5 additions and 4 deletions

1
NEWS
View File

@ -48,6 +48,7 @@ where XXXXXX is the bug number as listed below.
329612 Incorrect handling of AT_BASE for image execution
330459 --track-fds=yes doesn't track eventfds
330469 Add clock_adjtime syscall support
330941 Typo in PRE(poll) syscall wrapper
Release 3.9.0 (31 October 2013)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -3785,7 +3785,7 @@ PRE(sys_poll)
(Addr)(&ufds[i].fd), sizeof(ufds[i].fd) );
PRE_MEM_READ( "poll(ufds.events)",
(Addr)(&ufds[i].events), sizeof(ufds[i].events) );
PRE_MEM_WRITE( "poll(ufds.reventss)",
PRE_MEM_WRITE( "poll(ufds.revents)",
(Addr)(&ufds[i].revents), sizeof(ufds[i].revents) );
}
}

View File

@ -1269,7 +1269,7 @@ PRE(sys_ppoll)
(Addr)(&ufds[i].fd), sizeof(ufds[i].fd) );
PRE_MEM_READ( "ppoll(ufds.events)",
(Addr)(&ufds[i].events), sizeof(ufds[i].events) );
PRE_MEM_WRITE( "ppoll(ufd.reventss)",
PRE_MEM_WRITE( "ppoll(ufd.revents)",
(Addr)(&ufds[i].revents), sizeof(ufds[i].revents) );
}

View File

@ -5,7 +5,7 @@ Syscall param poll(ufds.fd) points to uninitialised byte(s)
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (badpoll.c:12)
Syscall param poll(ufds.reventss) points to unaddressable byte(s)
Syscall param poll(ufds.revents) points to unaddressable byte(s)
...
by 0x........: main (badpoll.c:22)
Address 0x........ is 0 bytes after a block of size 15 alloc'd

View File

@ -2008,7 +2008,7 @@ Syscall param poll(ufds.events) points to unaddressable byte(s)
by 0x........: main (scalar.c:752)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param poll(ufds.reventss) points to unaddressable byte(s)
Syscall param poll(ufds.revents) points to unaddressable byte(s)
...
by 0x........: main (scalar.c:752)
Address 0x........ is not stack'd, malloc'd or (recently) free'd