Rich Felker a6293285e9 fix use of uninitialized memory with application-provided thread stacks
the subsequent code in pthread_create and the code which copies TLS
initialization images to the new thread's TLS space assume that the
memory provided to them is zero-initialized, which is true when it's
obtained by pthread_create using mmap. however, when the caller
provides a stack using pthread_attr_setstack, pthread_create cannot
make any assumptions about the contents. simply zero-filling the
relevant memory in this case is the simplest and safest fix.
2014-08-22 14:05:10 -04:00
..
2014-06-19 02:48:45 -04:00
2011-02-12 00:22:29 -05:00
2011-08-14 15:17:36 -04:00
2011-03-04 00:45:59 -05:00
2011-03-04 00:45:59 -05:00
2011-03-04 00:45:59 -05:00
2011-04-17 11:43:03 -04:00