diff options
Diffstat (limited to 'vppapigen/node.c')
-rw-r--r-- | vppapigen/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vppapigen/node.c b/vppapigen/node.c index ab8adc56..e66fdce8 100644 --- a/vppapigen/node.c +++ b/vppapigen/node.c @@ -1034,7 +1034,7 @@ char *fixup_input_filename(void) if (*cp == '/') cp++; - strcpy (tmpbuf, cp); + strncpy (tmpbuf, cp, sizeof(tmpbuf)-1); cp = tmpbuf; |