public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/argus-clients/files: argus-clients-3.0.7.4-overflow.patch
@ 2013-01-03  0:48 Jeroen Roovers (jer)
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2013-01-03  0:48 UTC (permalink / raw
  To: gentoo-commits

jer         13/01/03 00:48:01

  Added:                argus-clients-3.0.7.4-overflow.patch
  Log:
  Fix buffer overflow (bug #449868). Set correct license.
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key A792A613)

Revision  Changes    Path
1.1                  net-analyzer/argus-clients/files/argus-clients-3.0.7.4-overflow.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/argus-clients/files/argus-clients-3.0.7.4-overflow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/argus-clients/files/argus-clients-3.0.7.4-overflow.patch?rev=1.1&content-type=text/plain

Index: argus-clients-3.0.7.4-overflow.patch
===================================================================
--- a/common/argus_util.c
+++ b/common/argus_util.c
@@ -7473,7 +7473,7 @@
             default: format = "%d"; break;
          }
       }
-      snprintf (upstr, 128, format, port);
+      snprintf (upstr, sizeof(upstr), format, port);
 
       if (parser->ArgusPrintXml) {
          sprintf (buf, " %sPort = \"%s\"", dirstr, upstr);





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-03  0:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03  0:48 [gentoo-commits] gentoo-x86 commit in net-analyzer/argus-clients/files: argus-clients-3.0.7.4-overflow.patch Jeroen Roovers (jer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox