Author: tom
Date: Sun Feb 9 11:10:08 2014
New Revision: 13795
Log:
Fix typo in poll wrapper
Patch from Ivo Raisr via BZ#330941
Modified:
trunk/NEWS
trunk/coregrind/m_syswrap/syswrap-generic.c
trunk/coregrind/m_syswrap/syswrap-linux.c
trunk/memcheck/tests/badpoll.stderr.exp
trunk/memcheck/tests/x86-linux/scalar.stderr.exp
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sun Feb 9 11:10:08 2014
@@ -48,6 +48,7 @@
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)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modified: trunk/coregrind/m_syswrap/syswrap-generic.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-generic.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c Sun Feb 9 11:10:08 2014
@@ -3785,7 +3785,7 @@
(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) );
}
}
Modified: trunk/coregrind/m_syswrap/syswrap-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c Sun Feb 9 11:10:08 2014
@@ -1269,7 +1269,7 @@
(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) );
}
Modified: trunk/memcheck/tests/badpoll.stderr.exp
==============================================================================
--- trunk/memcheck/tests/badpoll.stderr.exp (original)
+++ trunk/memcheck/tests/badpoll.stderr.exp Sun Feb 9 11:10:08 2014
@@ -5,7 +5,7 @@
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
Modified: trunk/memcheck/tests/x86-linux/scalar.stderr.exp
==============================================================================
--- trunk/memcheck/tests/x86-linux/scalar.stderr.exp (original)
+++ trunk/memcheck/tests/x86-linux/scalar.stderr.exp Sun Feb 9 11:10:08 2014
@@ -2008,7 +2008,7 @@
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
|