freebsd-ports/devel/mcpp/files/patch-src__main.c
Olli Hauer e64a650594 - add patches to fix some security and functionality issues
PR:		ports/155934
Submitted by:	Michael Gmelin <freebsd _at_ grem.de>
Approved by:	Kiyoshi MATSUI <kmatsui _at_ t3.rim.or.jp> (maintainer)
2011-03-30 18:26:40 +00:00

11 lines
300 B
C

--- ./src/main.c.orig 2008-11-05 09:34:46.000000000 +0100
+++ ./src/main.c 2011-03-30 19:57:37.000000000 +0200
@@ -326,6 +326,8 @@
= FALSE;
option_flags.trig = TRIGRAPHS_INIT;
option_flags.dig = DIGRAPHS_INIT;
+ sh_file = NULL;
+ sh_line = 0;
}
int mcpp_lib_main