Opened 10 years ago

Last modified 10 years ago

#11771 new bug

CID 401564: Negative array index read

Reported by: sli908 Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Check to make sure index variable is >= 0

Change History (6)

comment:1 by pulkomandy, 10 years ago

Do you have a patch? :)

comment:2 by sli908, 10 years ago

I wasn't able to format the patch properly

I'll try something tomorrow and see if it works then

comment:3 by sli908, 10 years ago

I figured out why the patch wasn't formatting properly

the generated folder was in the .gitignore

Hold on while I format a patch

Version 0, edited 10 years ago by sli908 (next)

comment:4 by sli908, 10 years ago

Last edited 10 years ago by sli908 (previous) (diff)

comment:5 by sli908, 10 years ago

I can't seem to format the patch, as the generated folder is in the .gitignore

comment:6 by pulkomandy, 10 years ago

The file coverity reports is generated using yacc. You need to patch the source file instead: src/bin/rc/parser.y.

Note: See TracTickets for help on using tickets.