author | Holger Weiss <hweiss@users.sourceforge.net> | |
Fri, 15 Jun 2007 18:31:37 +0000 (18:31 +0000) | ||
committer | Holger Weiss <hweiss@users.sourceforge.net> | |
Fri, 15 Jun 2007 18:31:37 +0000 (18:31 +0000) | ||
commit | 0dc4801791d956c3d4d2059b6fcdd249fe152df5 | |
tree | d34ddfaa9c25500af400a8d37ca04786e89bccae | tree | snapshot |
parent | 7c8db659a49d575b6d5b0304f5399c9b2931d83b | commit | diff |
`host_name' is a NULL pointer if the "-I" flag is used instead of "-H",
so use `server_address' instead. Fixes a possible segfault when
following redirects to relative URLs (reported by Ingo Lantschner).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1740 f882894a-f735-0410-b71e-b25c423dba1c
so use `server_address' instead. Fixes a possible segfault when
following redirects to relative URLs (reported by Ingo Lantschner).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1740 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_http.c | diff | blob | history |