Opened 6 years ago

Closed 6 years ago

#9880 closed bug (fixed)

[bfs_tools] Inode.cpp: Called C++ object pointer is null

Reported by: mt Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version: R1/Development
Keywords: bfs_tools Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

In Inode::EmptyInode(), if variable "object" fails to allocate, calling object->AcquireBuffer() is invalid. Please see attached report.

Attachments (2)

0010-Fix-called-C-object-pointer-is-null.patch (797 bytes) - added by mt 6 years ago.
Patch
report-9QlBqW.html (156.3 KB) - added by mt 6 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by mt

Patch

comment:1 Changed 6 years ago by mt

Has a Patch: set

Changed 6 years ago by mt

Attachment: report-9QlBqW.html added

Report by Clang Static Analyzer

comment:2 Changed 6 years ago by korli

Resolution: fixed
Status: newclosed

Applied in hrev45868. Thanks!

Note: See TracTickets for help on using tickets.