mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Fix crash due to untested null pointer occuring when doing
HTTP_PROXY=8080:proxy.ucv.cl elinks http://wwww.google.cl. Thanks to Karel Zak. [ From commit 947c1730a61900fd3443696182b6692f2669bf56 in ELinks 0.12.GIT. This crash occurs in ELinks 0.11.0 but not in 0.10.6. --KON ]
This commit is contained in:
parent
977a6df851
commit
f835a27e25
3
AUTHORS
3
AUTHORS
@ -283,6 +283,9 @@ Karel Kulhavy <clock@atrey.karlin.mff.cuni.cz>
|
|||||||
Fixed compile incompatibility
|
Fixed compile incompatibility
|
||||||
One of Links authors; a lot of misc. features & code
|
One of Links authors; a lot of misc. features & code
|
||||||
|
|
||||||
|
Karel Zak <kzak@redhat.com>
|
||||||
|
Minor bug fixes
|
||||||
|
|
||||||
Karsten Schölzel <kuser@gmx.de>
|
Karsten Schölzel <kuser@gmx.de>
|
||||||
Event system chief engineer
|
Event system chief engineer
|
||||||
Scripting subsystem hacking
|
Scripting subsystem hacking
|
||||||
|
@ -538,7 +538,8 @@ loading_callback(struct download *download, struct session *ses)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (is_in_result_state(download->state) && download->state != S_OK) {
|
if (is_in_result_state(download->state) && download->state != S_OK) {
|
||||||
print_error_dialog(ses, download->state, download->conn->uri,
|
print_error_dialog(ses, download->state,
|
||||||
|
download->conn ? download->conn->uri : NULL,
|
||||||
download->pri);
|
download->pri);
|
||||||
if (d == DO_MOVE_ABORT) reload(ses, CACHE_MODE_NORMAL);
|
if (d == DO_MOVE_ABORT) reload(ses, CACHE_MODE_NORMAL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user