libyal / libpff

Library and tools to access the Personal Folder File (PFF) and the Offline Folder File (OFF) format
GNU Lesser General Public License v3.0
289 stars 74 forks source link

FR: Have libpff_attachment_get_type support attachment method 0 #107

Closed jengelh closed 2 years ago

jengelh commented 2 years ago

PST files can have attachment method 0. noatt libpff_attachment_get_type should not fail in this case.

joachimmetz commented 2 years ago

@jengelh do you have sample file what is in the NO_ATTACHMENT object so the documentation can be updated accordingly

jengelh commented 2 years ago

107.zip

joachimmetz commented 2 years ago

excellent, thx much appreciated. I'll take a closer look at this over the weekend

joachimmetz commented 2 years ago

Changes in https://github.com/libyal/libpff/commit/56114a3eed56170046b848a42946ebf4f42fef04