1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 03:49:01 +00:00

possibly fixed a xml not-well-formed bug in service element reported by Jason Edelstein

This commit is contained in:
fyodor
2006-12-31 23:36:51 +00:00
parent 97281b76c2
commit 12e25f4879

View File

@@ -193,7 +193,7 @@ static char* xml_sf_convert (const char* str) {
// returns 0 for success.
static int getServiceXMLBuf(struct serviceDeductions *sd, char *xmlbuf,
unsigned int xmlbuflen) {
string versionxmlstring;
string versionxmlstring = "";
char rpcbuf[128];
char *xml_product = NULL, *xml_version = NULL, *xml_extrainfo = NULL;
char *xml_hostname = NULL, *xml_ostype = NULL, *xml_devicetype = NULL;