Opened 11 years ago
Last modified 8 years ago
#9891 assigned bug
[Storage Kit] SetStringJob.cpp: Called C++ object pointer is null
Reported by: | mt | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Storage Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
In SetStringJob::Do(), if variable "fChild" is NULL, calling fChild->PartitionID() is invalid. Please see attached report.
Attachments (4)
Change History (7)
by , 11 years ago
Attachment: | 0014-Fix-called-C-object-pointer-is-null.patch added |
---|
comment:1 by , 11 years ago
patch: | 0 → 1 |
---|
comment:2 by , 11 years ago
As mentioned by Axel on the haiku-development list:
Not sure if that patch is needed, but it does introduce a couple of coding style issues:
- Missing space after 'if'.
- Superfluous curly braces
- Else after return
comment:3 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Patch