Added missing NULL byte for resource
Added missing NULL byte for resource
This commit is contained in:
@ -2174,6 +2174,7 @@ int tmp;
|
|||||||
free(dbkey);
|
free(dbkey);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
dbkey->resource[tmp] = 0; // NULL Terminate
|
||||||
}
|
}
|
||||||
else // NULL is valid, so represent with a length of -1
|
else // NULL is valid, so represent with a length of -1
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user