clearlinux / cve-check-tool

Original Automated CVE Checking Tool
GNU General Public License v2.0
205 stars 78 forks source link

Crash in jira_plugin test #4

Closed ikeydoherty closed 9 years ago

ikeydoherty commented 9 years ago
tests/check-jira-plugin.c:55:F:cve_jira_plugin_functions:cve_jira_plugin_is_alive_function:0: Failed local host is alive check
tests/check-jira-plugin.c:70:E:cve_jira_plugin_functions:cve_jira_plugin_jira_issues_functions:0: (after this point) Received signal 11 (Segmentation fault)
johnwhiteman commented 9 years ago

Must be something in the curl check function. Doesn't like localhost on your system. Looking into now.

ikeydoherty commented 9 years ago

Wouldn't surprise me - anything I can do to help debug it? :)

johnwhiteman commented 9 years ago

Please try now. Moved check for NULL prior to deference assignment. Also added a few other checks to ensure plugin is initialized.

ikeydoherty commented 9 years ago

Confirmed - all tests pass now. Thanks!