[PATCH] Fixing possible dereferencing of NULL pointer

2010-04-12 Thread Dirk Hohndel
I must have misunderstood the cases in which this function can be called It seemed odd to try to manage authors when author==NULL, but that's what we appear to be doing; so now we check that autho != NULL and bail otherwise. Signed-off-by: Dirk Hohndel --- lib/thread.cc |2 +- 1 files

[PATCH] Fixing possible dereferencing of NULL pointer

2010-04-12 Thread Dirk Hohndel
I must have misunderstood the cases in which this function can be called It seemed odd to try to manage authors when author==NULL, but that's what we appear to be doing; so now we check that autho != NULL and bail otherwise. Signed-off-by: Dirk Hohndel hohn...@infradead.org --- lib/thread.cc |