[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnu-libiconv] [bug #58903] assert gentranslit buffer-overflow
From: |
Reini Urban |
Subject: |
[bug-gnu-libiconv] [bug #58903] assert gentranslit buffer-overflow |
Date: |
Wed, 5 Aug 2020 13:08:55 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 |
Follow-up Comment #2, bug #58903 (project libiconv):
[comment #1 comment #1:]
> Could you please explain what symptoms you have been seeing?
> Just a warning from gcc, when you enabled non-default warnings?
The gcc warning with default compilation from git with fedora 31/gcc 9
> Or a crash (and if so, under which circumstances)?
> Or have you been adding lots of stuff to translit.def?
No.
> The largest value 'i' attains, with the translit.def in the distribution, is
5. Two digits are already more than enough for a number in the range [1, 5].
Yes, I'm aware of that, but the malloc reserves 2 for this, so the assert
extends it up to 99. It matches the code.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58903>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/