#1062 closed defect (fixed)
[PATCH] It is odd that pointer to 'char' type is compared with the '\0' value. Probably meant: *ext == '\0'.
Reported by: | Echelon9 | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 9 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
A potential error: a pointer to the char type is compared to value '\0'. It is highly probable that the pointer dereferencing operation is missing.
Proposed patch attached.
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | ogl-char-pointer-fix.patch added |
---|
comment:1 by , 12 years ago
Milestone: | Alpha 8 → Alpha 9 |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 8 years ago
Keywords: | review removed |
---|
Note:
See TracTickets
for help on using tickets.
Proposed fix for ogl.cpp pointer to char comparison