summaryrefslogtreecommitdiff
path: root/extra/bc/bc-1.06.95-void_uninitialized.patch
blob: c60290c4d0c1fbc165a53874f831ddb12fa18001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;