Search:

Type: Posts; User: bue

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    4,759

    ok for snprintf

    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...
  2. Replies
    7
    Views
    4,759

    Sorry but I don't know how... Can you just show...

    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...
  3. Replies
    7
    Views
    4,759

    I've tried to debug with valgrind, its says : ...

    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...
  4. Replies
    7
    Views
    4,759

    sprintf getenv buffer overflow

    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");

    ...
  5. Replies
    1
    Views
    7,035

    How to get my own mac address (c programming)

    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...
Results 1 to 5 of 5