[Bug binutils/29099] Buffer overflow can happen at libiberty/argv.c

2022-04-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29099 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com

[Bug binutils/29099] Buffer overflow can happen at libiberty/argv.c

2022-04-28 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29099 --- Comment #3 from Alan Modra --- "pos * sizeof (char)" might look to be a useless multiplication by 1, but it also converts the expression to size_t. size_t is an unsigned integer type. There is no signed integer overflow here, unless

[Bug binutils/29099] Buffer overflow can happen at libiberty/argv.c

2022-04-28 Thread yguoaz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29099 --- Comment #2 from yguoaz at gmail dot com --- (In reply to Andreas Schwab from comment #1) > I don't think it is possible to create a file that large. In 32bit machine, long only takes 4 bytes. Therefore, maybe a 4GB sized-file is not very

[Bug binutils/29099] Buffer overflow can happen at libiberty/argv.c

2022-04-28 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=29099 --- Comment #1 from Andreas Schwab --- I don't think it is possible to create a file that large. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/29099] Buffer overflow can happen at libiberty/argv.c

2022-04-27 Thread yguoaz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29099 Yiyuan guo changed: What|Removed |Added CC||mark at codesourcery dot com -- You