[Bug c++/21189] weird behavior

2005-04-25 Thread gnu04 at yahoo dot com
--- Additional Comments From gnu04 at yahoo dot com 2005-04-25 16:27 --- Subject: Re: weird behavior Thanks a lot! And sorry for the spamming. I should be careful. Andy --- pinskia at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > > --- Additional Comments From pinskia at gcc

[Bug c++/21189] weird behavior

2005-04-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-24 14:46 --- Actually this is a bug in your code: Signature::Signature(unsigned char* str, size_t vlen) { sig = new unsigned char[len]; len = vlen; ... len is not assigned so you are using an uninitialized variable.

[Bug c++/21189] weird behavior

2005-04-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|wierd behavior |weird behavior http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21189