[Snort-devel] Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x

Steve Sturges ssturges at ...402...
Sat Aug 17 13:55:43 EDT 2013

I was thinking the same - that we may have issues with it not being
available on all platforms.  Would rather keep the compatibility & address
any specific issues as needed.

As Michael stated, these particular ones are not an issue.


On Saturday, August 17, 2013, Matt Olney wrote:

> I was under the impression that strlcpy was only in the BSD libc.
> On Sat, Aug 17, 2013 at 5:39 AM, sockstat <sockstat at ...445...<javascript:_e({}, 'cvml', 'sockstat at ...445...');>
> > wrote:
>>  Would there be any objection against replacing all strncpy instances
>> with strlcpy? Then we won't encounter non null terminated buffers for sure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20130817/8a6ca4fe/attachment.html>

More information about the Snort-devel mailing list