SIGBUS Panic in smbd

Luke Kenneth Casson Leighton lkcl at
Fri Jul 2 01:07:46 GMT 1999

> As long as the returns from getpwnam are used "soon", i.e. before any
> further calls to getpwnam,
> this kind of code is fine.  If that's not the case, then you should copy
> both the struct and all the
> strings it points to somewhere.

i had this bug for a while - getgrent() two-level loops (oops!)

More information about the samba-technical mailing list