Opened 9 years ago

Last modified 9 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, 9 years ago

Do you have a patch? :)

comment:2 by sli908, 9 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, 9 years ago

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

comment:4 by sli908, 9 years ago

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

comment:5 by sli908, 9 years ago

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

comment:6 by pulkomandy, 9 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.