From 7b8e4f76ad926de70246c65159275542921f9aef Mon Sep 17 00:00:00 2001 From: Dennis Herrmann Date: Sun, 13 Dec 2009 17:53:44 +0000 Subject: - Fix security bug, see http://forums.humdi.net/viewtopic.php?p=1655#p1655 - Bump PORTREVISION --- net/vnstat/Makefile | 1 + net/vnstat/files/patch-src__image.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 net/vnstat/files/patch-src__image.c (limited to 'net/vnstat') diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile index c8017863de73..b259b26d65cb 100644 --- a/net/vnstat/Makefile +++ b/net/vnstat/Makefile @@ -7,6 +7,7 @@ PORTNAME= vnstat PORTVERSION= 1.9 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://humdi.net/vnstat/ \ http://mirror.mcx2.org/ diff --git a/net/vnstat/files/patch-src__image.c b/net/vnstat/files/patch-src__image.c new file mode 100644 index 000000000000..95dd6f77270e --- /dev/null +++ b/net/vnstat/files/patch-src__image.c @@ -0,0 +1,11 @@ +--- ./src/image.c.orig 2009-12-13 18:45:05.000000000 +0100 ++++ ./src/image.c 2009-12-13 18:45:26.000000000 +0100 +@@ -1398,7 +1398,7 @@ + + char *getimagescale(uint64_t kb, int rate) + { +- static char buffer[6]; ++ static char buffer[7]; + uint32_t limit[3]; + int unit; + -- cgit v1.2.3