[eggheads-patches] PATCH: strncpy_is_not_safe.patch

Jonathan Miles jon at zetnet.net
Wed Oct 13 21:09:35 CST 1999

> .nick fjdhflksdjhflskdjfhlsdkjfhsldkjfhlsdkjfhlsdkjfhlsdkfjh
<Dibble> [02:32] * Last context: tclhash.c/748 []
<Dibble> [02:32] * Please REPORT this BUG!

When using strncpy(), please remember to terminate the destination buffer.
The patch also fixes .chnick. There are probably loads of other places
where strncpy use should be fixed, I dont have time to look for them at
the moment.

Jonathan Miles <jon at zetnet.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strncpy_is_not_safe.patch
Type: application/octet-stream
Size: 1329 bytes
Desc: not available
URL: <http://lists.eggheads.org/pipermail/patches/attachments/19991013/aee79226/attachment.obj>

More information about the Patches mailing list