diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2021-09-08 09:34:42 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2021-09-08 09:40:11 +0300 |
commit | fe73d839b4ed8348a783173ecea37ca90dd578d5 (patch) | |
tree | b2b00ef63d2a1f732da1d59280c8d5b79c7e0d73 /src | |
parent | 46b84f431d1435778f8f3811e6fceb0ab5190cb8 (diff) | |
download | shared-mime-info-fe73d839b4ed8348a783173ecea37ca90dd578d5.tar.gz |
application/x-apple-systemprofiler+xml: require _SPCommandLineArguments in plistwork/scop/jpeg-vs-systemprofiler
Look for `<key>_SPCommandLineArguments</key>` in addition to plist root
element to distinguish from other property list XML files.
Our offset specifiers aren't that fancy, so this can trigger on files
that have the above string ´_before_ `<plist version="1.0"`, but those
should be quite pathological cases.
Start offset 34 is length of `<plist version="1.0"><array><dict>`, 384
is arbitrary guesswork.
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/169
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions