mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: gcc-vc4: Update to commit 0fe4b83897341742f9df65797474cb0feab4b377.
* gnu/packages/patches/gcc-6-fix-buffer-size.patch: New file. * gnu/packages/patches/gcc-6-fix-isl-includes.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/embedded.scm (gcc-vc4): Update to commit 0fe4b83897341742f9df65797474cb0feab4b377. [source]: Add the patches from above.
This commit is contained in:
parent
455daf46ad
commit
f2c6375449
4 changed files with 39 additions and 3 deletions
15
gnu/packages/patches/gcc-6-fix-buffer-size.patch
Normal file
15
gnu/packages/patches/gcc-6-fix-buffer-size.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
Fixes a possible buffer overflow. (There are others)
|
||||
Author: Danny Milosavljevic <dannym@scratchpost.org>
|
||||
Date: 2020-11-16
|
||||
|
||||
--- a/gcc/gimplify.c.orig 2020-10-29 08:45:11.532479774 +0100
|
||||
+++ b/gcc/gimplify.c 2020-10-29 08:45:49.584637018 +0100
|
||||
@@ -5229,7 +5229,7 @@
|
||||
flexibility, split it into separate input and output
|
||||
operands. */
|
||||
tree input;
|
||||
- char buf[10];
|
||||
+ char buf[12];
|
||||
|
||||
/* Turn the in/out constraint into an output constraint. */
|
||||
char *p = xstrdup (constraint);
|
Loading…
Add table
Add a link
Reference in a new issue