Snort mailing list archives

Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x


From: Russ Combs <rcombs () sourcefire com>
Date: Sat, 17 Aug 2013 18:07:53 -0400

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

On Sat, Aug 17, 2013 at 1:55 PM, Steve Sturges <ssturges () sourcefire com>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 () hotmail com> 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 () 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!

------------------------------------------------------------------------------
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 () 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!

Current thread: