Opened 7 years ago
Closed 7 years ago
#13825 closed bug (invalid)
The 'ctx' pointer was utilized before it was verified against nullptr in libntfs/mft.c.
Reported by: | owenca | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Add-Ons | Version: | R1/Development |
Keywords: | ntfs | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
This is reported by PVS http://pulkomandy.github.io (# 2477 and # 2479).
Attachments (2)
Change History (7)
by , 7 years ago
Attachment: | 0001-Fixes-PVS-2477-and-2479-a-potential-null-pointer-der.patch added |
---|
comment:1 by , 7 years ago
patch: | 0 → 1 |
---|
by , 7 years ago
Attachment: | 0002-Fixes-PVS-2477-and-2479-a-potential-null-pointer-der.patch added |
---|
comment:2 by , 7 years ago
Description: | modified (diff) |
---|
comment:4 by , 7 years ago
patch: | 1 → 0 |
---|
comment:5 by , 7 years ago
patch: | 0 |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Actually, it appears that those are false-positive, that is, the use of the pointer only happens when a condition (mb_prebuilt is true) is set that doesn't happen until after the pointer is initialized. PVS just didn't get it correctly.