Closed asarubbo closed 6 years ago
CVE-2017-8844 was assigned http://seclists.org/oss-sec/2017/q2/234.
Peter. Maybe just submit a patch instead of so many posts. Or just make one past.
On May 9, 2017 8:38:22 AM CDT, Petr Pisar notifications@github.com wrote:
CVE-2017-8844 was assigned http://seclists.org/oss-sec/2017/q2/234.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/ckolivas/lrzip/issues/70#issuecomment-300166666
-- Peter Hyman +1(609)598-0262 Sent from mobile. Sorry for any typos.
In fill_buffer
, I noticed this:
padded_len = MAX(c_len, MIN_SIZE);
then
s_buf = malloc(MAX(u_len, MIN_SIZE));
and then
if (unlikely(read_buf(control, sinfo->fd, s_buf, padded_len)))
Hmm. Suspicious?
Yes that's correct, thanks. Finally attended to.
On 0.631:
Reproducer: https://github.com/asarubbo/poc/blob/master/00232-lrzip-heapoverflow-read_1g