Some fixes to parsing, hopefully it removes the segfault, but could not replicate the segfault from openVAS in a test.