thank you for that explanation...
It seems that I have the same problem for the return value, but if I return the buffer for the function, I get an error, I seems I need to use a function like...
Type: Posts; User: bue
thank you for that explanation...
It seems that I have the same problem for the return value, but if I return the buffer for the function, I get an error, I seems I need to use a function like...
Sorry but I don't know how...
Can you just show me how to use an array and snprint ?
I've a second problem, whe I uncomment the line with
ipaddress = getipaddress("eth0")
the error in...
I've tried to debug with valgrind, its says :
==2294== Conditional jump or move depends on uninitialised value(s)
==2294== at 0x1B99798E: (within /lib/tls/libc-2.3.2.so)
==2294== by...
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");
...
Hi,
I want to write a little programm in order to make an inventory of my machines. I want to start this programm at startup, and it should write some information in a mysqldb : ipaddress, date...