#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).

Change History (7)

comment:1 Changed 17 months ago by owenca

Has a Patch: set

comment:2 Changed 17 months ago by mmu_man

Description: modified (diff)

comment:3 Changed 17 months ago by mmu_man

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 17 months ago by mmu_man (previous) (diff)

comment:4 Changed 16 months ago by pulkomandy

Has a Patch: unset

comment:5 Changed 16 months ago by pulkomandy

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