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.
The following reply was made to PR toolchain/46827; it has been noted by GNATS.
From: Rifat Mahmud <rftmhmd%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: toolchain/46827: Cannot build the kernel, even Generic.
Date: Thu, 23 Aug 2012 18:55:32 +0600
--047d7b621e40f49ee604c7ee5f9f
Content-Type: text/plain; charset=ISO-8859-1
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
>
>
--047d7b621e40f49ee604c7ee5f9f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Applied the patch, still same error.<br><br><div class=3D"gmail_quote">On T=
hu, Aug 23, 2012 at 6:05 PM, Christos Zoulas <span dir=3D"ltr"><<a href=
=3D"mailto:christos%zoulas.com@localhost"
target=3D"_blank">christos%zoulas.com@localhost</a>&g=
t;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">The following reply was made to PR toolchain=
/46827; it has been noted by GNATS.<br>
<br>
From: <a
href=3D"mailto:christos%zoulas.com@localhost">christos%zoulas.com@localhost</a>
(Chris=
tos Zoulas)<br>
To: gnats-bugs%NetBSD.org@localhost, <a
href=3D"mailto:toolchain-manager%netbsd.org@localhost">=
toolchain-manager%netbsd.org@localhost</a>,<br>
=A0 =A0 =A0 =A0 <a
href=3D"mailto:gnats-admin%netbsd.org@localhost">gnats-admin@netbs=
d.org</a>, <a
href=3D"mailto:netbsd-bugs%netbsd.org@localhost">netbsd-bugs%netbsd.org@localhost=
</a><br>
Cc:<br>
Subject: Re: toolchain/46827: Cannot build the kernel, even Generic.<br>
Date: Thu, 23 Aug 2012 08:00:39 -0400<br>
<br>
=A0On Aug 23, 11:50am, <a
href=3D"mailto:rftmhmd%gmail.com@localhost">rftmhmd@gmail.c=
om</a> (<a
href=3D"mailto:rftmhmd%gmail.com@localhost">rftmhmd%gmail.com@localhost</a>)
wrote:<=
br>
=A0-- Subject: toolchain/46827: Cannot build the kernel, even Generic.<br>
<br>
=A0| Then run '/build.sh -m i386 kernel=3DGENERIC'<br>
=A0|<br>
<br>
=A0Looks like a buffer overflow bug in "ar".<br>
<br>
=A0Can you apply this patch to src/gnu/dist/binutils/binutils?<br>
<br>
=A0--- arsup.c =A0 =A0 2009/11/07 17:58:34 =A0 =A0 1.2<br>
=A0+++ arsup.c =A0 =A0 2012/08/23 11:58:53<br>
=A0@@ -157,7 +157,7 @@<br>
=A0 =A0 char *name;<br>
=A0 =A0 int t;<br>
=A0 {<br>
=A0- =A0char *tname =3D (char *) xmalloc (strlen (name) + 10);<br>
=A0+ =A0char *tname =3D (char *) xmalloc (4096);<br>
=A0 =A0 const char *bname =3D lbasename (name);<br>
=A0 =A0 real_name =3D name;<br>
<br>
=A0christos<br>
<br>
</blockquote></div><br>
--047d7b621e40f49ee604c7ee5f9f--
Home |
Main Index |
Thread Index |
Old Index