Ad
  • Custom User Avatar

    Thanks for the comment. Yes sprintf was writing one extra character to the buffer. Fixed it now.

  • Custom User Avatar

    There is an error in the 3. basic test in c.

    Test:

    do_test(UINT32_MAX, "255.255.255.255");
    

    Error:

    for uint32 = 4294967295 expected:
    "p"
    but got:
    "255.255.255.255"
    

    Other random tests also error out randomly:

    for uint32 = 1926558421 expected:
    "�"
    but got:
    "114.212.242.213"