Public bug reported: Coverity Scan detected a possible bug where buf may be null and we can have a potential null pointer derefernce in method_test_NULL_return.
if (buf->Length && buf->Pointer) { } should be if (buf && buf->Length && buf->Pointer) { } ** Affects: fwts (Ubuntu) Importance: Medium Assignee: Colin King (colin-king) Status: In Progress ** Summary changed: - fwts: method test should check for NULL buff in method_test_NULL_return + fwts: method test should check for NULL buf in method_test_NULL_return ** Changed in: fwts (Ubuntu) Status: New => In Progress ** Changed in: fwts (Ubuntu) Importance: Undecided => Medium ** Changed in: fwts (Ubuntu) Assignee: (unassigned) => Colin King (colin-king) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1205267 Title: fwts: method test should check for NULL buf in method_test_NULL_return To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/1205267/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs