summaryrefslogtreecommitdiff
path: root/extra/bc/bc-1.06.95-void_uninitialized.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-27 03:27:42 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-27 03:27:42 +0000
commit748e32a3a886569b58a27003e85b76be5746153d (patch)
treec9f0b9e6f3ba175339702a764f39caebf51099cf /extra/bc/bc-1.06.95-void_uninitialized.patch
parentfd15c95b8e764eac48c00ab65ecb15cf9e582331 (diff)
Mon Jan 27 03:21:26 UTC 2014
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;
+