[Top][All Lists]
[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
- Reading uninitialized memory, Andrew Vaught, 2002/01/25
- Re: Reading uninitialized memory,
Torbjorn Granlund <=
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/25
- Re: Reading uninitialized memory, Torbjorn Granlund, 2002/01/25
- Re: Reading uninitialized memory, Kevin Ryde, 2002/01/25
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/26
- Re: Reading uninitialized memory, Kevin Ryde, 2002/01/26
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/26
- Re: Reading uninitialized memory, Torbjorn Granlund, 2002/01/26
- Re: Reading uninitialized memory, Kevin Ryde, 2002/01/26
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/26
- Re: Reading uninitialized memory, Torbjorn Granlund, 2002/01/26