networkupstools/nut — pull request #41 by bohe-eaton (2013-07-23 14:06:20+00:00)
Title: Fix nut-scanner crash on nut server scan,

upscli_sslinit calls upscli_readline which might calls upscli_disconnect in case of error. upscli_disconnect frees ups->host and set it to NULL, so it is illegal to use ups->host after a call to upscli_sslinit.