Check or remove rv from GetUrlForUri() call, in nsMsgAttachmentHandler.cpp
Categories
(MailNews Core :: Composition, defect)
Tracking
(Not tracked)
People
(Reporter: sgautherie, Unassigned)
References
()
Details
(Keywords: good-first-bug, Whiteboard: [patchlove][lang=c++])
Attachments
(2 files, 2 obsolete files)
2.25 KB,
patch
|
squib
:
review+
|
Details | Diff | Splinter Review |
4.05 KB,
patch
|
Details | Diff | Splinter Review |
Comment 1•13 years ago
|
||
Reporter | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Reporter | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
Comment 11•13 years ago
|
||
Reporter | ||
Comment 12•13 years ago
|
||
Reporter | ||
Comment 13•13 years ago
|
||
Reporter | ||
Updated•13 years ago
|
Comment 14•13 years ago
|
||
Comment 15•13 years ago
|
||
Comment 16•12 years ago
|
||
Comment 17•12 years ago
|
||
Updated•12 years ago
|
Comment 18•12 years ago
|
||
Comment 19•12 years ago
|
||
Comment 20•12 years ago
|
||
Comment 21•12 years ago
|
||
Updated•12 years ago
|
Comment 22•12 years ago
|
||
Comment 23•12 years ago
|
||
Comment 24•12 years ago
|
||
Reporter | ||
Comment 25•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Comment 26•11 years ago
|
||
Comment 27•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Comment 28•11 years ago
|
||
Comment 29•11 years ago
|
||
Comment 30•11 years ago
|
||
Updated•10 years ago
|
Updated•10 years ago
|
Updated•10 years ago
|
Comment 31•10 years ago
|
||
Updated•10 years ago
|
Comment 32•10 years ago
|
||
Comment 33•10 years ago
|
||
Comment 34•9 years ago
|
||
Comment 35•9 years ago
|
||
Comment 36•9 years ago
|
||
Comment 37•9 years ago
|
||
Comment 38•9 years ago
|
||
Updated•6 years ago
|
Updated•5 years ago
|
Updated•2 years ago
|
Comment 39•1 year ago
|
||
The file nsMsgAttachmentHandler.cpp does not exist anymore.
I have found cases of aUri should these be named to uri?
as of the rv variable from what i found all the places seem to check if it succeed, will do further inspections
I have also found one case of aUrl in the file mimedrft.cpp which i have renamed to url
Comment 40•1 year ago
|
||
aUri was in nsMsgComposeContentHandler.cpp @ line 102
I've also found two cases where the return value isnt being checked
nsMsgComposeService.cpp @ line 784
rv = inStream->Read(readBuf + readOffset, maxReadCount, &readCount);
nsMsgCompose.cpp
rv = GetMsgDBHdrFromURI(msgURI, getter_AddRefs(msgHdr));
Comment 41•1 year ago
|
||
wondering if we should check them instead of simply casting them into void
Comment 42•1 year ago
|
||
all mentions of GetUrlForUri()'s return value is checked
Comment 43•1 year ago
|
||
i have done the required changes to the above mentioned return values if anyone would like to add anything please do.
will be posting the diff after a confirmation
Description
•