[PATCH] NDOUTILS Fix: The ndo2db debug file should be opened after dropping the privileges

Hendrik BŠäcker andurin at process-zero.de
Sat Nov 15 16:55:58 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Devels,

Lars M. has detected a small file based race condition in ndo2db causing
the debug file creation before dropping the privileges to ndo2db_user.

Attached patch should solve the problem.

Thanks to Lars bringing this to attention.

Regards,
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkke8Q4ACgkQlI0PwfxLQjmC3QCfcSbN1jOO8Sv7fDQ4CdcNxmKl
EuMAn1sOR70QySrInGHWm9GqiQS94a1+
=h0oS
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bf6cd0f038495530896ee16c1e5491eb80f72280.diff
Type: text/x-patch
Size: 656 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20081115/0d0c7ea9/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list