Snort mailing list archives
Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x
From: Matt Olney <molney () sourcefire com>
Date: Sat, 17 Aug 2013 12:44:43 -0400
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!
Current thread:
- Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x sockstat (Aug 17)
- Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x Matt Olney (Aug 17)
- Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x Steve Sturges (Aug 17)
- Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x Russ Combs (Aug 17)
- Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x Russ Combs (Aug 17)
- Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x Steve Sturges (Aug 17)
- Re: Possible Issues with strncpy() calls in DAQ-2.0.x and Snort-2.9.5.x Matt Olney (Aug 17)