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