summaryrefslogtreecommitdiffstats
path: root/main/bc/bc-1.06.95-void_uninitialized.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/bc/bc-1.06.95-void_uninitialized.patch')
-rw-r--r--main/bc/bc-1.06.95-void_uninitialized.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/bc/bc-1.06.95-void_uninitialized.patch b/main/bc/bc-1.06.95-void_uninitialized.patch
new file mode 100644
index 000000000..c591f782a
--- /dev/null
+++ b/main/bc/bc-1.06.95-void_uninitialized.patch
@@ -0,0 +1,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;