Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
digiKam
Commits
09e97189
Commit
09e97189
authored
Aug 18, 2013
by
Marcel Wiesweg
Browse files
Fix null pointer access of d->hints, thanks to TSa
CCBUG: 323062
parent
352b7121
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs/database/collectionscanner.cpp
View file @
09e97189
...
...
@@ -1098,6 +1098,7 @@ void CollectionScanner::scanFileNormal(const QFileInfo& fi, const ItemScanInfo&
if
(
scanInfo
.
modificationDate
.
isNull
()
||
(
hasAnyHint
&&
d
->
hints
->
hasRescanHint
(
scanInfo
.
id
))
)
{
if
(
hasAnyHint
)
{
QWriteLocker
locker
(
&
d
->
hints
->
lock
);
d
->
hints
->
rescanItemHints
.
remove
(
scanInfo
.
id
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment