fwts: method test should check for NULL buf in method_test_NULL_return
Bug #1205267 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firmware Test Suite |
Fix Released
|
Medium
|
Unassigned | ||
fwts (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
Coverity Scan detected a possible bug where buf may be null and we can have a potential null pointer derefernce in method_
if (buf->Length && buf->Pointer) {
}
should be
if (buf && buf->Length && buf->Pointer) {
}
Related branches
Changed in fwts (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in fwts: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 13.08.00 |
Changed in fwts: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch sent to fwts-devel mailing list.