Closed
Bug 126460
Opened 23 years ago
Closed 23 years ago
Occurances of uninitialized variables being used before being set (in db/mork and mailnews/db).
Categories
(MailNews Core :: Database, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mozilla-bugs, Assigned: Bienvenu)
References
Details
Attachments
(1 file)
(deleted),
patch
|
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
Not sure what component includes db/mork, so filing under Browser-General.
This bug is just for the warnings in various source files in db/mork/src. Currently
(http://tinderbox.mozilla.org/SeaMonkey/warn1014136200.29882.html - Tue, 19 Feb
2002 11:30 EST) TBox shows the following warnings:
db/mork/src/morkAtom.cpp:454
`mork_size thisSize' might be used uninitialized in this function
db/mork/src/morkAtom.cpp:455
`mork_cscode thisForm' might be used uninitialized in this function
Reporter | ||
Comment 1•23 years ago
|
||
Bug 59652 is the meta-bug tracking the fight against these (potentially very
nasty) warnings.
P.S. Trying to make sure that 1.0 has as little warnings as possible.
Blocks: 59652
Keywords: mozilla1.0
Comment 2•23 years ago
|
||
Mork is the mailnews database. :)
Assignee: asa → bienvenu
Component: Browser-General → Mail Database
Product: Browser → MailNews
QA Contact: doronr → esther
Reporter | ||
Comment 3•23 years ago
|
||
Oh, and speaking about the mailnews database: there are also
mailnews/db/msgdb/src/nsMsgThread.cpp:214
`nsresult rv' might be used uninitialized in this function
mailnews/db/msgdb/src/nsMsgThread.cpp:1049
`nsresult rv' might be used uninitialized in this function
(in bug 59673). Both seem like real bugs (probably minor ones, though)...
Reporter | ||
Comment 4•23 years ago
|
||
Currently (http://tinderbox.mozilla.org/SeaMonkey/warn1016552220.1515.html -
Tue, 19 Mar 2002 10:37 EST) TBox shows the following "xxx might be used
uninitialized" warnings in db files:
db/mork/src/morkAtom.cpp:454
`mork_size thisSize' might be used uninitialized in this function
db/mork/src/morkAtom.cpp:455
`mork_cscode thisForm' might be used uninitialized in this function
mailnews/db/msgdb/src/nsMsgThread.cpp:1049
`nsresult rv' might be used uninitialized in this function
mailnews/db/msgdb/src/nsMsgThread.cpp:214
`nsresult rv' might be used uninitialized in this function
Blocks: 59673
Summary: Occurances of uninitialized variables being used before being set (in db/mork). → Occurances of uninitialized variables being used before being set (in db/mork and mailnews/db).
Assignee | ||
Comment 5•23 years ago
|
||
Comment 6•23 years ago
|
||
Comment on attachment 84316 [details] [diff] [review]
proposed fix
sr=sspitzer
Attachment #84316 -
Flags: superreview+
Assignee | ||
Comment 7•23 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: esther → stephend
I see the 2 warnings here:
http://tinderbox.mozilla.org/SeaMonkey/warn1021921920.7387.html#bienvenu
but NOT here:
http://tinderbox.mozilla.org/SeaMonkey/warn1021930440.17680.html#bienvenu
If I'm incorrect, please reopen.
Thanks, Verified.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•