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.
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