On 02/25/09 22:09, Scott Rotondo wrote: > Bart Blanquart wrote: >> Current webrev at http://cr.opensolaris.org/~bartbl/6251549-20090225/ > > This is OK, but it would also work fine if you get rid of strdup() and > the corresponding free() at line 136.
Yeah, but that makes things more fragile. A later call to getpw*() could change the username being processed. > Line 155 seems to have an unused variable: old_userauth_cnt. Doesn't > lint complain about this? Used in line 203. Bart