#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:
Has a Patch: Platform: All

Description (last modified by mmu_man)

This is reported by PVS http://pulkomandy.github.io (# 2477 and # 2479).

Attachments (2)

Change History (7)

comment:1 by owenca, 22 months ago

Has a Patch: set

comment:2 by mmu_man, 22 months ago

Description: modified (diff)

comment:3 by mmu_man, 22 months ago

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.

We should probably forward those to Tuxera anyway. And update NTFS-3g, our version is from 2014.

Last edited 22 months ago by mmu_man (previous) (diff)

comment:4 by pulkomandy, 20 months ago

Has a Patch: unset

comment:5 by pulkomandy, 20 months ago

Has a Patch: unset
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.