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

Re: syslog_L test 28 and 61

On Mon, Feb 25, Thorsten Kukuk wrote:

> Hi,
> I looked at the syslog test cases and found 2 bugs in the test suite:
> syslog_L 28: This test can never pass, since we print the start address
> of a local variable on the stack. But this address must be different
> at both calls, they cannot be unique since we call it the first time
> direct and the second time from another function.
> Solution: make the variable int i; in test28 static.

Same for test 85, the variable i should be static.


Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrenstr. 15-19       D-90429 Nuernberg
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

Reply to: