c/8114: Modulair var is not checked
j.westgeest@chello.nl
j.westgeest@chello.nl
Tue Oct 1 23:56:00 GMT 2002
>Number: 8114
>Category: c
>Synopsis: Modulair var is not checked
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Tue Oct 01 23:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: j.westgeest@chello.nl
>Release: 2002-06-25_FREAKS.exe
>Organization:
>Environment:
win2000
>Description:
when you declare an unsigned char global.
and check it in your main loop the code is wrong.
reg 24 is and with reg 24.
and jmp -2 which makes an never ending loop.
but if you make an global pointer to an local var and check this one the code is ok.
>How-To-Repeat:
See Zip
>Fix:
Do not know, but for workaround see zip
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-prs
mailing list