Missing error handling when calling NS_tremove() in UpdateThreadFunc()
Categories
(Toolkit :: Application Update, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: robert.strong.bugs)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file)
Coverity points to the fact that the return value from the remove() function being called here: https://searchfox.org/mozilla-central/source/toolkit/mozapps/update/updater/updater.cpp#2492-2493 isn't being checked, unlike several other places in this file.
![]() |
Assignee | |
Comment 1•6 years ago
|
||
Ehsan, where are you getting the coverity scan data? I have a coverity account that I use for the Firefox scan and the last scan was two months ago.
![]() |
Assignee | |
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
(In reply to Robert Strong (Robert he/him) [:rstrong] (use needinfo to contact me) from comment #1)
Ehsan, where are you getting the coverity scan data? I have a coverity account that I use for the Firefox scan and the last scan was two months ago.
We have a private instance setup right now where you can look at all of the issues it finds including this one, I believe Andi can get you an account if you need one.
![]() |
Assignee | |
Comment 4•6 years ago
|
||
I'd appreciate an account. Thanks!
Comment 6•6 years ago
•
|
||
(In reply to Robert Strong (Robert he/him) [:rstrong] (use needinfo to contact me) from comment #4)
I'd appreciate an account. Thanks!
Hello Robert, I've sent you an invitation. If you need anything else please feel free to poke me on irc.
Comment 7•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Updated•6 years ago
|
Description
•