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