Hi,
I'm a newbie in c programming and I have all the time bufferoverflow problems, especially using sprintf and getenv :
here is a line that make problem :
variable = getenv("TS_VERSION");
sprintf(query,"INSERT test Set test=\'programmec\',lastupdate=now(),ipaddress='%s ',macid='test'",getipaddress("eth0"))
I'm not sure but I think the problem comes from this lines...
Could it be because I have to big variables, or too many ?