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: <CALx_OUD2S+XEc3r5gYaNvWU===M-jygoPe1e9tkxKbUKwpQMnQ@mail.gmail.com>
Date: 2014年10月27日 11:59:56 -0700
From: Michal Zalewski <lcamtuf@...edump.cx>
To: oss-security <oss-security@...ts.openwall.com>
Subject: Re: Re: strings / libbfd crasher
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円",
which sounds a lot longer than 9 characters.
http://lcamtuf.coredump.cx/strings-stack-overflow
/mz

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 によって変換されたページ (->オリジナル) /