Prevent a segfault by explicitly checking everywhere
for valid entries.
BUG: 405210
bruns | |
ngraham |
Prevent a segfault by explicitly checking everywhere
for valid entries.
BUG: 405210
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
src/extractors/exiv2extractor.cpp | ||
---|---|---|
299–300 | !it->empty() ? |
src/extractors/exiv2extractor.cpp | ||
---|---|---|
299–300 | Unfortunately, empty() does not exist. Same was done in https://phabricator.kde.org/D16165 |
src/extractors/exiv2extractor.cpp | ||
---|---|---|
306–307 | Yep, forgot |
Otherwise, LGTM
src/extractors/exiv2extractor.cpp | ||
---|---|---|
306–307 | Can you add a line break here as well? |