Opened 12 years ago
#253 new defect
owl_message_create_from_znotice might crash if z_opcode is NULL?
Reported by: | andersk@mit.edu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | zephyr | Keywords: | |
Cc: |
Description
clang scan-build finds that owl_message_create_from_znotice passes n->z_opcode to strcasecmp even though it previously tested it for being NULL. If that ever happens, it might lead to a crash in strcasecmp. If that never happens, we should remove the NULL test.
Note: See
TracTickets for help on using
tickets.