On Tue, 24 Nov 2009 14:19:43 +0100
Jakub Witkowski <[email protected]> wrote:

> After some hunting, I narrowed the problem down to this line in
> aklog_main.c:
> 
>  if ((pwd = getpwuid(getuid())) != NULL)

This specific line is where the crash occurred? Do you still have the
core, and can you give the backtrace?

> My question is, is this a sign of some bug lurking in libnss-afs? 
> If not, can this code be made optional or reworked to something a
> little more robust?

If getpwuid() were segfaulting, my guess is you would see a lot more
segfaults/aborts than in just aklog. We're not testing pwd->pw_dir for
NULL in aklog, but I'm not sure if it's possible for it to be.

You may want to continue this in a bug report (by sending something to
[email protected]), though it may not be a bug in aklog.

-- 
Andrew Deason
[email protected]

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to