siStartInfo.hStdOutput = NULL;\r
siStartInfo.hStdError = debugFP;\r
\r
- sprintf(buf, "Hh.exe %s", helpFile);\r
+ snprintf(buf, sizeof(buf)/sizeof(buf[0]),"Hh.exe %s", helpFile);\r
\r
// ignore the other parameters; just start the viewer with the help file\r
if( CreateProcess(NULL,\r