Files
libmicrohttpd/src
Christian Grothoff c39414cdc7 Dan Dedrick wrote:
If pthread_create fails for some reason we need to not access the
thread pointer as it will not be valid. Without this check a failed
return code from pthread_create would cause a SIGSEGV to occur.

An instance that pthread_create could fail is if enough connections were
established that we ran out of space in our mapping to create another
thread stack. Specifically I have seen this occur with
systemd-journal-gatewayd where there was a bug with not releasing
connections after they had disconnected. I submitted a fix for that
here: https://github.com/systemd/systemd/pull/2287 but it would really
be best if libmicrohttpd didn't SIGSEGV under these conditions.
2016-03-15 20:54:16 +00:00
..
2015-12-01 13:06:38 +00:00
2016-01-28 06:06:50 +00:00
2016-03-15 20:54:16 +00:00
2016-03-15 20:54:16 +00:00
2015-12-01 13:06:38 +00:00