NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/46827: Cannot build the kernel, even Generic.



Applied the patch, still same error.

On Thu, Aug 23, 2012 at 6:05 PM, Christos Zoulas <christos%zoulas.com@localhost> wrote:
The following reply was made to PR toolchain/46827; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, toolchain-manager%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc:
Subject: Re: toolchain/46827: Cannot build the kernel, even Generic.
Date: Thu, 23 Aug 2012 08:00:39 -0400

 On Aug 23, 11:50am, rftmhmd%gmail.com@localhost (rftmhmd%gmail.com@localhost) wrote:
 -- Subject: toolchain/46827: Cannot build the kernel, even Generic.

 | Then run '/build.sh -m i386 kernel=GENERIC'
 |

 Looks like a buffer overflow bug in "ar".

 Can you apply this patch to src/gnu/dist/binutils/binutils?

 --- arsup.c     2009/11/07 17:58:34     1.2
 +++ arsup.c     2012/08/23 11:58:53
 @@ -157,7 +157,7 @@
    char *name;
    int t;
  {
 -  char *tname = (char *) xmalloc (strlen (name) + 10);
 +  char *tname = (char *) xmalloc (4096);
    const char *bname = lbasename (name);
    real_name = name;

 christos




Home | Main Index | Thread Index | Old Index