Re: xstrdup function

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

 



hi again,


On Wed, 2002-03-20 at 02:58, Jenn Vesperman wrote:
> On Wed, 2002-03-20 at 11:38, m96 wrote:
> > hi,
> > 
> > i just wanted to know why the xstrdup function is not useable. it's
> > documented in the pam app dev doc. and the source file exists but there
> > is no such function entry in pam_misc.h file or in any other header.
> 
> Documentation bug that I haven't gotten around to filing.
> 
> x_strdup exists in pam_misc and appears to be the correct function. 

but x_strdup is just macro on 'libpam/include/security/_pam_macros.h'

but there is also an unused xstrdup function 'libpam_misc/xstrdup.c'

because x_strdup points just to the original strdup function. since i
don't know the difference between the original strdup of glibc and
xstrdup i also can't tell if xstrdup is more secure. but there must be a
reason that andrew wrote it....

> 
> There's another docs bug with PAM_NEW_AUTHTOK_REQD, aka
> PAM_AUTHTOKEN_REQD. (or rather, these appear to be synonyms.)
> 
> If you want to file the bugs, please do. If not, I'll get around to it
> one day. :)

is there a bug report page? for documentation and pam source
(pam-cvs.sf.net ?) ?

> 
> Once they're properly filed, the maintainer (Andrew Morgan?) can
> actually correct them.
> 
> 
> 
> Jenn V.
> -- 
>     "Do you ever wonder if there's a whole section of geek culture 
>         	you miss out on by being a geek?" - Dancer.
> 
> jenn@anthill.echidna.id.au     http://anthill.echidna.id.au/~jenn/
> 
> 
> 
> 
> _______________________________________________
> 
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list
> 
--
regards,
m96.





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux