Re: getpwuid checking



Hello Oskar,

On Thu, 2004-09-23 at 12:48, Oskar Liljeblad wrote:
> This patch fixes two potential segfault bugs because the result of
> getpwuid is not checked.

A similar fix for the second hunk is already in CVS.

Regarding the first hunk, will g_strdup actually cause a segfault when
the result of getpwuid() is NULL?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]