[nsd-users] PATCH: Double pid file truncation in NSD 4.0.0b2

Robin Hack hack.robin at gmail.com
Thu Jan 10 12:02:42 UTC 2013


Hi.

I wrote little patch (as attachment) for NSD 4.0.0b2 which changed
server.c and nsd.c.
I found that
unlinkpid(const char* file) in nsd.c do same like code in server_main
(server.c).
But code in server_main don't check if filename is not blank.

Best regards
Robin Hack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nsd-4.0.0b2-double-truncation.patch
Type: application/octet-stream
Size: 1097 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20130110/c908bd1f/attachment.obj>


More information about the nsd-users mailing list