mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtprintinfo: correct another possible buffer overflow
This commit is contained in:
parent
30cd56ac38
commit
05d231606e
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ int Queue::Stop(BaseObj *obj, char **output, BaseObj * /*requestor*/)
|
|||
else
|
||||
#endif
|
||||
{
|
||||
sprintf(command, STOP_QUEUE_CMD, queue->Name());
|
||||
snprintf(command, 100, STOP_QUEUE_CMD, queue->Name());
|
||||
rc = queue->RunCommand(command, NULL, output);
|
||||
}
|
||||
delete [] command;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue