Permalink
Please sign in to comment.
Browse files
Fix retval parameter to pthread_join()
The retval parameter to pthread_join() is a pointer to a pointer. There are several instances where a pointer to int is being passed instead. This can result in a bus error on sparc64 when the pointer is not aligned on a 64-bit boundary. Of course, it's a potential problem on any 64-bit platform. Also removed an unnecessary malloc & free from mmstress.c Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
- Loading branch information...
Showing
with
32 additions
and 34 deletions.
- +1 −2 testcases/kernel/io/ltp-aiodio/aio-stress.c
- +5 −4 testcases/kernel/io/stress_cd/stress_cd.c
- +3 −6 testcases/kernel/mem/mtest05/mmstress.c
- +4 −4 testcases/kernel/mem/mtest06/mmap1.c
- +5 −4 testcases/kernel/mem/mtest06/mmap3.c
- +5 −5 testcases/kernel/mem/mtest06/shmat1.c
- +3 −3 testcases/kernel/mem/mtest07/shm_test.c
- +3 −3 testcases/network/nfs/nfsstress/make_tree.c
- +3 −3 testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/4-1.c
0 comments on commit
981d33a