aboutsummaryrefslogtreecommitdiffstats
path: root/main/bc/bc-1.06.95-void_uninitialized.patch
blob: c591f782a82096cfa322ee8db1a5d285c798d262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
http://www.pixelbeat.org/programming/oss_bug_flow.html
https://bugs.gentoo.org/349339

--- ./bc/storage.c
+++ ./bc/storage.c
@@ -99,6 +99,7 @@
     {
       f = &functions[indx];
       f->f_defined = FALSE;
+      f->f_void = FALSE;
       f->f_body = (char *) bc_malloc (BC_START_SIZE);
       f->f_body_size = BC_START_SIZE;
       f->f_code_size = 0;