Closed
Bug 122918
Opened 23 years ago
Closed 23 years ago
Linux installer can crash/segfault if CRC checking fails
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: slogan, Assigned: slogan)
References
Details
(Keywords: crash)
Attachments
(1 file)
|
1.55 KB,
patch
|
samir_bugzilla
:
review+
dveditz
:
superreview+
|
Details | Diff | Splinter Review |
Uncovered this while testing something else. Patch on the way.
Test by setting MOZ_INSTALL_TEST_CRC=1 in your environment before running the
installer -- this will stress test CRC failures.
Updated•23 years ago
|
QA Contact: bugzilla → ktrina
Comment 2•23 years ago
|
||
Comment on attachment 67389 [details] [diff] [review]
patch to fix this
>- if ( retval == PR_TRUE && myConn->URL != (char *) NULL )
>+ if ( retval == PR_TRUE && myConn->URL != (char *) NULL ) {
> free( myConn->URL );
>+ myConn->URL = (char *) NULL;
>+ }
Fix the tabbing problems, use TRUE instead of PR_TRUE and r=sgehani.
Attachment #67389 -
Flags: review+
Comment 3•23 years ago
|
||
Comment on attachment 67389 [details] [diff] [review]
patch to fix this
>- else if ( ( myConn->type != type || strcmp( URL, myConn->URL ) || force == PR_TRUE ) /* && gControls->state != ePaused */) {
>+ else if ( ( myConn->type != type || myConn->URL == (char *) NULL || strcmp( URL, myConn->URL ) || force == PR_TRUE ) /* && gControls->state != ePaused */) {
Wow, that's one heck of a long line
sr=dveditz
Attachment #67389 -
Flags: superreview+
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Comment 4•23 years ago
|
||
adding segfault to summary to attract dupes
Summary: Linux installer can crash in CRC checking if CRC fails → Linux installer can crash/segfault if CRC checking fails
Comment 5•23 years ago
|
||
*** Bug 123474 has been marked as a duplicate of this bug. ***
*** Bug 97249 has been marked as a duplicate of this bug. ***
Comment 7•23 years ago
|
||
Todays linux build is crashing every install I attempt. Can someone confirm it's
a dupe of this? Where is the CRC failure? Bad ZIP archives on the server? Can
someone check this in? What's supposed to happen on these way-to-frequent CRC
failures?
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•