unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 5fcd769d451d1870aabd8af6c6b78214df77f211 503 bytes (raw)
name: packages/patches/gcc-6-fix-buffer-size.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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);

debug log:

solving 5fcd769d451d1870aabd8af6c6b78214df77f211 ...
found 5fcd769d451d1870aabd8af6c6b78214df77f211 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).