mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Fix memcheck/tests/darwin/aio on OS X.
n-i-bz On OS X 10.10 Before: == 593 tests, 214 stderr failures, 10 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures == After: == 593 tests, 213 stderr failures, 10 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures == git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15454
This commit is contained in:
parent
0a59ab78ef
commit
12d2c103ad
@ -14,6 +14,7 @@ int main(void)
|
||||
struct aiocb a;
|
||||
struct sigevent s;
|
||||
|
||||
memset(&a, 0, sizeof(struct aiocb));
|
||||
// Not sure if the sigevent is even looked at by aio_*... just zero it.
|
||||
memset(&s, 0, sizeof(struct sigevent));
|
||||
|
||||
|
||||
@ -1,14 +1,16 @@
|
||||
|
||||
Warning: invalid file descriptor -1 in syscall aio_read()
|
||||
Syscall param aio_read(aiocbp->aio_buf) points to unaddressable byte(s)
|
||||
...
|
||||
at 0x........: aio_read (in /...libc...)
|
||||
by 0x........: main (aio.c:45)
|
||||
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
||||
|
||||
Conditional jump or move depends on uninitialised value(s)
|
||||
at 0x........: main (aio.c:55)
|
||||
at 0x........: main (aio.c:56)
|
||||
|
||||
Syscall param aio_write(aiocbp->aio_buf) points to unaddressable byte(s)
|
||||
...
|
||||
at 0x........: aio_write (in /...libc...)
|
||||
by 0x........: main (aio.c:70)
|
||||
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user