1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -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.
This commit is contained in:
Laurent MONIN 2006-10-11 14:44:39 +02:00 committed by Laurent MONIN
parent 09991b59f1
commit 947c1730a6
2 changed files with 3 additions and 2 deletions

View File

@ -291,6 +291,7 @@ Karel Kulhavy <clock@atrey.karlin.mff.cuni.cz>
Karel Zak <kzak@redhat.com>
Support for negotiate-auth based on GSSAPI
Minor bug fixes
Karsten Schölzel <kuser@gmx.de>
Event system chief engineer

View File

@ -539,8 +539,8 @@ loading_callback(struct download *download, struct session *ses)
}
if (is_in_result_state(download->state) && download->state != S_OK) {
print_error_dialog(ses, download->state, download->conn->uri,
download->pri);
print_error_dialog(ses, download->state,
download->conn ? download->conn->uri : NULL, download->pri);
if (d == DO_MOVE_ABORT) reload(ses, CACHE_MODE_NORMAL);
}