Hi!
> you're right. In fact, the problem is in safe_getpwnam(), which does not
> correctly reproduce the behavior of the deprecated my_getpwnam().
> Moreover, I'm not noticing the problem on my laptop due to a race
> condition in kill05, while it shows an inconsistent behavior on the box
> I'm running tests on (mipsel with glibc, for the sake).
> 
> Could you please fix safe_getpwnam() with either one of the following
> patches?

Technically you are right, but my_getpwnam() behaviour is broken too. As
the strings the structure is pointing to are statically allocated too,
this copying preserves only uid and gid. So instead of creating
crippled interface we will rather fix the test itself.

Thanks the report anyway.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to