Skip to content

Commit

Permalink
fix: the null pointer reference vulnerability
Browse files Browse the repository at this point in the history
Fix the null pointer reference vulnerability.Use the MD5 check to check the file.

Log: Fix the null pointer reference vulnerability.
Bug: https://pms.uniontech.com/bug-view-252519.html
  • Loading branch information
add-uos authored and deepin-bot[bot] committed Jun 20, 2024
1 parent 27f3078 commit 12e67da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/filehander.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ bool FileHander::isDdfFileDirty(const QString &filePath)const
if (md5 != nMd5) {
return true;
}
} else if (ver == EDdfUnknowed) {
} else{
return true;
}
return false;
Expand Down

0 comments on commit 12e67da

Please sign in to comment.