Menu

#2665 kPidINode is reported as VT_UI8 but returned as VT_UI4 in archive handlers

open
nobody
None
5
2026-06-03
2026-06-03
Ben Kollar
No

Discussion

  • Ben Kollar

    Ben Kollar - 2026-06-03

    sorry, that should say
    the declared VT type in k7z_PROPID_To_VARTYPE in PropID.cpp prop is defined as VT_UI8

     
  • Ben Kollar

    Ben Kollar - 2026-06-03

    kpidStreamId also looks to be inconsistent, its defined as VT_UI8 in k7z_PROPID_To_VARTYPE,
    ExtHandler.cpp, CpioHandler.cpp and WimHandler.cpp assign a UInt32, however NtfsHandler.cpp assigns a UInt64 instead to the property

     
  • Ben Kollar

    Ben Kollar - 2026-06-03

    looks like the same thing with kpidNumAltStreams aswell? VT_UI8 in k7z_PROPID_To_VARTYPE, assigned UInt32 in wim and ntfs handlers

     
  • Igor Pavlov

    Igor Pavlov - 2026-06-03

    I'll fix some of these things.
    But that 64-bit / 32-bit difference can be ignored by client code.
    There is vt field inside PROPVARIANT that contains correct value for each returned item.

     

    Last edit: Igor Pavlov 2026-06-03

Log in to post a comment.

Auth0 Logo