- Fixed a stack smashing bug in statemon.c. String was 1 short...

This commit is contained in:
2014-05-22 10:47:39 +02:00
parent d1060a3368
commit 9172b70462
2 changed files with 2 additions and 2 deletions

View File

@ -12,4 +12,4 @@ MFLAGS=-f makefile_linux$(DUMMY)
HDFROOT=/afs/psi.ch/project/sinq/sl6
TCLINC=.
DBG= -g
DBG= -g -fstack-protector-all

View File

@ -124,7 +124,7 @@ static int StateInterest(int iEvent, void *pEvent, void *pUser)
/*--------------------------------------------------------------------------*/
static pHdb recurseInterestNode(pHdb current, char *pDevice)
{
char pSicsdev[131], pAlias[132];
char pSicsdev[132], pAlias[132];
pHdb result = NULL;
char *alias = NULL, *pPtr = NULL;