Opened 4 years ago

Last modified 4 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:
Has a Patch: no Platform: All

Description

Check to make sure index variable is >= 0

Change History (6)

comment:1 Changed 4 years ago by pulkomandy

Do you have a patch? :)

comment:2 Changed 4 years ago by sli908

I wasn't able to format the patch properly

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

comment:3 Changed 4 years ago by sli908

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

comment:4 Changed 4 years ago by sli908

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

comment:5 Changed 4 years ago by sli908

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

comment:6 Changed 4 years ago by pulkomandy

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.