oss-security - Re: Re: strings / libbfd crasher

Openwall
Follow @Openwall on Twitter for new release announcements and other news [<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141027191800.GA660@jwilk.net>
Date: 2014年10月27日 20:18:00 +0100
From: Jakub Wilk <jwilk@...lk.net>
To: oss-security@...ts.openwall.com
Subject: Re: Re: strings / libbfd crasher
* Michal Zalewski <lcamtuf@...edump.cx>, 2014年10月27日, 11:59:
>Well, there's also a trivial stack buffer overflow in srec.c near line 
>254:
>
> char buf[10];
>...
> sprintf (buf, "\\%03o", (unsigned int) c);
>
>But with this test case, c will be -44, or "1777777777777777777724円",
More likely "37777777724円"...
>which sounds a lot longer than 9 characters.
...which is still longer than 9.
-- 
Jakub Wilk

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.

AltStyle によって変換されたページ (->オリジナル) /