------- 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 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. Switching the order of the
> above
> statements around fixes the problem.
>
> --
> What |Removed
> |Added
>
----------------------------------------------------------------------------
> Status|UNCONFIRMED
> |RESOLVED
> Resolution|
> |INVALID
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21189
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21189