All pastes #9601 Raw Edit

Anonymous

public text v1 · immutable
#9601 ·published 2005-04-15 12:32 UTC
rendered paste body
Program received signal SIGSEGV, Segmentation fault.
0x0804a173 in open_listen_socket (listen_address=0x804a6e0 "tcp:0.0.0.0:12345") at interface.c:213
213       *addr = '\0';
(gdb) print 0x804a6e0
$1 = 134522592
(gdb) print listen_address
$2 = 0x804a6e0 "tcp:0.0.0.0:12345"
(gdb) print addr
$3 = 0x804a6e3 ":0.0.0.0:12345"

  addr = strchr(listen_address, ':');
  if (addr == NULL)
    return -1;
  *addr = '\0';