dtdocbook: Coverity 86996
This commit is contained in:
@@ -353,7 +353,7 @@ SetMapping(
|
|||||||
fprintf(stderr, "SetMapping: Map not initialized.\n");
|
fprintf(stderr, "SetMapping: Map not initialized.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
strcpy(buf, s);
|
snprintf(buf, sizeof(buf), "%s", s);
|
||||||
name = val = buf;
|
name = val = buf;
|
||||||
while (*val && !IsWhite(*val)) val++; /* point past end of name */
|
while (*val && !IsWhite(*val)) val++; /* point past end of name */
|
||||||
if (*val) {
|
if (*val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user