bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading uninitialized memory


From: Torbjorn Granlund
Subject: Re: Reading uninitialized memory
Date: 25 Jan 2002 14:10:24 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Andrew Vaught <address@hidden> writes:

     I'm guessing that zero is stored without limbs and that
  mpz_get_si() always reads whatever passes for a non-limb.  The value
  read from uninitialized memory is not used and doesn't affect the
  value of zero, but you could get rid of a read and the spurious
  error message from this and other bounds-checking programs.

Your analysis is correct.

-- 
Torbjörn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]