Bug#348117: g++-4.0: g++ upgrade broke ncurses c++ demo
reassign 348117 ncurses
severity 348117 normal
retitle 348117 Buffer overflow in example code c++/demo.cc
thanks
Thomas Dickey <dickey@his.com> writes:
> On Sun, 15 Jan 2006, Falk Hueffner wrote:
>
>> Thomas Dickey <tom@invisible-island.net> writes:
>>
>>> char buf[5];
>>
>> [...]
>>
>>> The buf variable contains "Key01"
>>
>> So 6 bytes. Does this still happen if you don't overrun buf? Also,
>> can you send a complete test case?
>
> It doesn't happen if I don't overrun. (Do you still need a complete
> test case?)
No, I'll just reassign it to ncurses then.
--
Falk
Reply to: