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

Russ Combs rcombs at ...402...
Sat Aug 17 18:07:53 EDT 2013


FYI - Snort has it's own copy of strlcpy under src/.

On Sat, Aug 17, 2013 at 1:55 PM, Steve Sturges <ssturges at ...402...>wrote:

> 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.
>
> -s
>
> 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...> wrote:
>>
>>>  Would there be any objection against replacing all strncpy instances
>>> with strlcpy? Then we won't encounter non null terminated buffers for sure.
>>>
>>>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
> Archive:
> http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel
>
> Please visit http://blog.snort.org for the latest news about Snort!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20130817/4dbf65c4/attachment.html>


More information about the Snort-devel mailing list