Skip to content

Purging original file path in database no longer sufficient #8117

@emesare

Description

@emesare

With the addition of new fields in file metadata purging the original file path will not remove the identifying information in the display name / virtual path fields.

  1. Open file
  2. Save analysis database with options
  3. Select to purge original file path
  4. Open the saved database and view the file metadata fields like below
>>> bv.file
<FileMetadata: /Users/emesare/Documents/libminidump_bn.dylib.bndb>
>>> bv.file.original_filename
'libminidump_bn.dylib'
>>> bv.file.display_name
'/Users/emesare/Documents/libminidump_bn.dylib.bndb'

The intention of this option when saving was to remove identifying information from the database, this issue also coincides with the fact that for some reason display name is a path, if we instead just saved the file name into it then i think that would be sufficient fix.

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CoreIssue needs changes to the coreEffort: TrivialIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaroundRegression

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions