commit | 3eca5e3f01d5807c4919f47fcfec4b4155dc04e4 | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Thu Feb 14 18:06:06 2013 +0100 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Feb 14 18:15:35 2013 +0100 |
tree | 38398ad4c05551859348015bac3a05a430679c41 | |
parent | 0d0c695c8c6657710d1a8ecb4f1264dcd405276b [diff] |
openposix/.../pthread_cond_timedwait: 2-2, 2-3 Fix rare segfaults. The retval passed to pthread_join() is a pointer to integer which is wrong as on 64 bit platform sizeof(void*) == 8 while sizeof(int) == 4. The pthread_exit() then rewrites part of the stack of the main process which may cause segfault. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>