[PATCH] key validity checks in pthread_{get,set}specific

2011-11-06 Thread Pino Toscano
Hi, attached there is a patch to do validity checks for the pthread key passed to pthread_getspecific and pthread_setspecific (more details in the commit log), with two very simple tests for the new checks. Thanks, -- Pino Toscano From e64c1c3f36168593eccb577218971d4fa0448ee0 Mon Sep 17

Re: [PATCH] key validity checks in pthread_{get,set}specific

2011-11-06 Thread Samuel Thibault
Pino Toscano, le Sun 06 Nov 2011 13:08:26 +0100, a écrit : attached there is a patch to do validity checks for the pthread key passed to pthread_getspecific and pthread_setspecific (more details in the commit log), with two very simple tests for the new checks. Applied, thanks! Samuel

Re: [PATCH, libpthread] Correct logic for PTHREAD_KEY_INVALID slots.

2011-11-06 Thread Neal H. Walfield
I haven't looked at this change in detail, but it sounds sane and if Samuel says its okay, that's good enough for me. Neal