Hello, I am not maintainer of gnome-nettool, just tried to debug this issue.
gnome-nettool collects the information from an execution of a dig command [1] and parses the output. Unfortunately the parsing is done into some fixed size arrays and the dig output overflows those. E.g. the destination buffer is 128 bytes, but 419 bytes from the line get written to it. This parsing is done here [2] with the format string from here [3]. The stack canary is overwritten with this backtrace [4]. Kind regards, Bernhard [1] dig +nocomments +search +nocmd +nostats +noadditional codethink.co.uk ANY [2] https://sources.debian.org/src/gnome-nettool/42.0-1/src/lookup.c/#L260 [3] https://sources.debian.org/src/gnome-nettool/42.0-1/src/lookup.h/#L25 [4] (rr) bt #0 0x00007f28a2aa5735 in __vfscanf_internal (s=s@entry=0x7fff90ce11c0, format=format@entry=0x5572c3ef6a71 "%s %d %s %s %[^\n]", argptr=argptr@entry=0x7fff90ce11a8, mode_flags=mode_flags@entry=2) at ./stdio-common/vfscanf-internal.c:2896 #1 0x00007f28a2a9791d in __GI___isoc99_sscanf (s=0x5572c5b75e70 "codethink.co.uk.\t20762\tIN\tRRSIG\tSOA 10 3 86400 20240531041601 20240501031601 19848 codethink.co.uk. m9sD9b/i+u7lOqOp/I/DSSxR8XoF8nA4bjCkHKdx3w8RdvFUGjOwsH77 5t2+sFagf7qZ2YLcABs+mDpOe3UFzrGcMbNGRkXGYcW"..., format=format@entry=0x5572c3ef6a71 "%s %d %s %s %[^\n]") at ./stdio-common/isoc99_sscanf.c:31 #2 0x00005572c3ef1f1d in strip_line (data=0x7fff90ce1400, line=<optimized out>) at ../src/lookup.c:260 #3 lookup_foreach_with_tree (netinfo=<optimized out>, line=<optimized out>, len=<optimized out>, user_data=<optimized out>) at ../src/lookup.c:189 #4 0x00005572c3eeb7f2 in netinfo_io_text_buffer_dialog (channel=<optimized out>, condition=<optimized out>, data=0x5572c59204a0) at ../src/nettool.c:409 #5 0x00007f28a2c7e0d9 in g_main_dispatch (context=context@entry=0x5572c552dbd0) at ../../../glib/gmain.c:3476 #6 0x00007f28a2c81317 in g_main_context_dispatch_unlocked (context=0x5572c552dbd0) at ../../../glib/gmain.c:4284 #7 g_main_context_iterate_unlocked (context=0x5572c552dbd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349 #8 0x00007f28a2c81c1f in g_main_loop_run (loop=loop@entry=0x5572c568a510) at ../../../glib/gmain.c:4551 #9 0x00007f28a33fd65d in gtk_main () at ../../../gtk/gtkmain.c:1329 #10 0x00005572c3ee95ba in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:231
# 2024-05-01 trixie/testing amd64 qemu VM apt install systemd-coredump task-gnome-desktop mc tmux htop git gdb valgrind rr gnome-nettool gnome-nettool-dbgsym libglib2.0-0t64-dbgsym libgtk-3-0t64-dbgsym apt build-dep gnome-nettool apt build-dep rr mkdir /home/benutzer/source/gnome-nettool/orig -p cd /home/benutzer/source/gnome-nettool/orig apt source gnome-nettool mkdir /home/benutzer/source/net-tools/orig -p cd /home/benutzer/source/net-tools/orig apt source net-tools root@debian:~# journalctl -e Mai 01 17:56:52 debian gnome-nettool.desktop[4366]: *** stack smashing detected ***: terminated Mai 01 17:56:52 debian systemd[1]: Created slice system-systemd\x2dcoredump.slice - Slice /system/systemd-coredump. Mai 01 17:56:52 debian systemd[1]: Started systemd-coredump@0-4400-0.service - Process Core Dump (PID 4400/UID 0). Mai 01 17:56:52 debian systemd-coredump[4401]: [🡕] Process 4366 (gnome-nettool) of user 1000 dumped core. root@debian:~# coredumpctl list TIME PID UID GID SIG COREFILE EXE SIZE Wed 2024-05-01 17:56:52 CEST 4366 1000 1000 SIGABRT present /usr/bin/gnome-nettool 1.8M root@debian:~# coredumpctl gdb --debugger-arguments=-q 4366 PID: 4366 (gnome-nettool) UID: 1000 (benutzer) GID: 1000 (benutzer) Signal: 6 (ABRT) Timestamp: Wed 2024-05-01 17:56:52 CEST (4min 14s ago) Command Line: /usr/bin/gnome-nettool Executable: /usr/bin/gnome-nettool Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-gnome\x2dnettool-4366.scope Unit: user@1000.service User Unit: app-gnome-gnome\x2dnettool-4366.scope Slice: user-1000.slice Owner UID: 1000 (benutzer) Boot ID: 7408197c36284bc295b6d821669a3071 Machine ID: 16e4d7437c19482b8c85581d3feaba09 Hostname: debian Storage: /var/lib/systemd/coredump/core.gnome-nettool.1000.7408197c36284bc295b6d821669a3071.4366.1714579012000000.zst (present) Size on Disk: 1.8M Message: Process 4366 (gnome-nettool) of user 1000 dumped core. Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2.amd64 Module libsystemd.so.0 from deb systemd-255.4-1.amd64 Stack trace of thread 4366: #0 0x00007fdb1d71a16c n/a (libc.so.6 + 0x8a16c) #1 0x00007fdb1d6cc472 raise (libc.so.6 + 0x3c472) #2 0x00007fdb1d6b64b2 abort (libc.so.6 + 0x264b2) #3 0x00007fdb1d6b71ed n/a (libc.so.6 + 0x271ed) #4 0x00007fdb1d7a8465 __fortify_fail (libc.so.6 + 0x118465) #5 0x00007fdb1d7a8450 __stack_chk_fail (libc.so.6 + 0x118450) #6 0x000056039034a30a lookup_foreach_with_tree (gnome-nettool + 0x1230a) #7 0x00005603903437f2 netinfo_io_text_buffer_dialog (gnome-nettool + 0xb7f2) #8 0x00007fdb1d8e50d9 n/a (libglib-2.0.so.0 + 0x570d9) #9 0x00007fdb1d8e8317 n/a (libglib-2.0.so.0 + 0x5a317) #10 0x00007fdb1d8e8c1f g_main_loop_run (libglib-2.0.so.0 + 0x5ac1f) #11 0x00007fdb1dffd65d gtk_main (libgtk-3.so.0 + 0x1fd65d) #12 0x00005603903415ba main (gnome-nettool + 0x95ba) #13 0x00007fdb1d6b76ca n/a (libc.so.6 + 0x276ca) #14 0x00007fdb1d6b7785 __libc_start_main (libc.so.6 + 0x27785) #15 0x00005603903416e1 _start (gnome-nettool + 0x96e1) . Core was generated by `/usr/bin/gnome-nettool'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 44 ./nptl/pthread_kill.c: Datei oder Verzeichnis nicht gefunden. [Current thread is 1 (Thread 0x7fdb1c6d0a80 (LWP 4366))] (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007fdb1d71a1cf in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78 #2 0x00007fdb1d6cc472 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007fdb1d6b64b2 in __GI_abort () at ./stdlib/abort.c:79 #4 0x00007fdb1d6b71ed in __libc_message (fmt=fmt@entry=0x7fdb1d829543 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:150 #5 0x00007fdb1d7a8465 in __GI___fortify_fail (msg=msg@entry=0x7fdb1d82952b "stack smashing detected") at ./debug/fortify_fail.c:24 #6 0x00007fdb1d7a8450 in __stack_chk_fail () at ./debug/stack_chk_fail.c:24 #7 0x000056039034a30a in lookup_foreach_with_tree (netinfo=<optimized out>, line=<optimized out>, len=<optimized out>, user_data=<optimized out>) at ../src/lookup.c:243 #8 0x00005603903437f2 in netinfo_io_text_buffer_dialog (channel=<optimized out>, condition=<optimized out>, data=0x56039232003d) at ../src/nettool.c:409 #9 0x00007fdb1d8e50d9 in g_main_dispatch (context=context@entry=0x560391e94bb0) at ../../../glib/gmain.c:3476 #10 0x00007fdb1d8e8317 in g_main_context_dispatch_unlocked (context=0x560391e94bb0) at ../../../glib/gmain.c:4284 #11 g_main_context_iterate_unlocked (context=0x560391e94bb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349 #12 0x00007fdb1d8e8c1f in g_main_loop_run (loop=loop@entry=0x560391ffbdf0) at ../../../glib/gmain.c:4551 #13 0x00007fdb1dffd65d in gtk_main () at ../../../gtk/gtkmain.c:1329 #14 0x00005603903415ba in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:231 (gdb) benutzer@debian:~$ gdb -q --pid $(pidof gnome-nettool) Attaching to process 5180 [New LWP 5183] [New LWP 5184] [New LWP 5186] [New LWP 5187] [New LWP 5188] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f132ebb9abf in __GI___poll (fds=0x55a96c0417b0, nfds=3, timeout=993) at ../sysdeps/unix/sysv/linux/poll.c:29 29 ../sysdeps/unix/sysv/linux/poll.c: Datei oder Verzeichnis nicht gefunden. (gdb) bt #0 0x00007f132ebb9abf in __GI___poll (fds=0x55a96c0417b0, nfds=3, timeout=993) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f132ed16277 in g_main_context_poll_unlocked (priority=<optimized out>, n_fds=3, fds=0x55a96c0417b0, timeout=<optimized out>, context=0x55a96bed0bb0) at ../../../glib/gmain.c:4653 #2 g_main_context_iterate_unlocked (context=0x55a96bed0bb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4344 #3 0x00007f132ed16c1f in g_main_loop_run (loop=loop@entry=0x55a96c0417d0) at ../../../glib/gmain.c:4551 #4 0x00007f132f3fd65d in gtk_main () at ../../../gtk/gtkmain.c:1329 #5 0x000055a96b4415ba in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:231 (gdb) b lookup_foreach_with_tree Breakpoint 1 at 0x55a96b449e00: file ../src/lookup.c, line 174. (gdb) cont Continuing. [Detaching after fork from child process 5264] Thread 1 "gnome-nettool" hit Breakpoint 1, lookup_foreach_with_tree (netinfo=0x55a96c2ddfb0, line=0x55a96c0f5b30 ";codethink.co.uk.\t\tIN\tANY\n", len=26, user_data=0x0) at ../src/lookup.c:174 174 ../src/lookup.c: Datei oder Verzeichnis nicht gefunden. (gdb) display/i $pc 1: x/i $pc => 0x55a96b449e00 <lookup_foreach_with_tree>: endbr64 (gdb) stepi 0x000055a96b449e04 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e04 <lookup_foreach_with_tree+4>: push %r15 (gdb) 0x000055a96b449e06 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e06 <lookup_foreach_with_tree+6>: mov %rdi,%rax (gdb) 0x000055a96b449e09 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e09 <lookup_foreach_with_tree+9>: push %r14 (gdb) 0x000055a96b449e0b 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e0b <lookup_foreach_with_tree+11>: push %r13 (gdb) 0x000055a96b449e0d 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e0d <lookup_foreach_with_tree+13>: push %r12 (gdb) 0x000055a96b449e0f 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e0f <lookup_foreach_with_tree+15>: push %rbp (gdb) 0x000055a96b449e10 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e10 <lookup_foreach_with_tree+16>: push %rbx (gdb) 0x000055a96b449e11 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e11 <lookup_foreach_with_tree+17>: sub $0x388,%rsp (gdb) 0x000055a96b449e18 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e18 <lookup_foreach_with_tree+24>: mov %fs:0x28,%rcx (gdb) 0x000055a96b449e21 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e21 <lookup_foreach_with_tree+33>: mov %rcx,0x378(%rsp) (gdb) print/x $rsp + 0x378 $1 = 0x7fff97413658 (gdb) watch *0x7fff97413658 Hardware watchpoint 2: *0x7fff97413658 (gdb) cont Continuing. Thread 1 "gnome-nettool" hit Hardware watchpoint 2: *0x7fff97413658 Old value = 785417801 New value = -1780389120 0x000055a96b449e29 in lookup_foreach_with_tree (netinfo=0x55a96c2ddfb0, line=0x55a96c0f5b30 ";codethink.co.uk.\t\tIN\tANY\n", len=26, user_data=0x1573084d95e16b00) at ../src/lookup.c:174 174 in ../src/lookup.c 1: x/i $pc => 0x55a96b449e29 <lookup_foreach_with_tree+41>: xor %ecx,%ecx (gdb) bt #0 0x000055a96b449e29 in lookup_foreach_with_tree (netinfo=0x55a96c2ddfb0, line=0x55a96c0f5b30 ";codethink.co.uk.\t\tIN\tANY\n", len=26, user_data=0x1573084d95e16b00) at ../src/lookup.c:174 #1 0x000055a96b4437f2 in netinfo_io_text_buffer_dialog (channel=<optimized out>, condition=<optimized out>, data=0x55a96c2ddfb0) at ../src/nettool.c:409 #2 0x00007f132ed130d9 in g_main_dispatch (context=context@entry=0x55a96bed0bb0) at ../../../glib/gmain.c:3476 #3 0x00007f132ed16317 in g_main_context_dispatch_unlocked (context=0x55a96bed0bb0) at ../../../glib/gmain.c:4284 #4 g_main_context_iterate_unlocked (context=0x55a96bed0bb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349 #5 0x00007f132ed16c1f in g_main_loop_run (loop=loop@entry=0x55a96c0417d0) at ../../../glib/gmain.c:4551 #6 0x00007f132f3fd65d in gtk_main () at ../../../gtk/gtkmain.c:1329 #7 0x000055a96b4415ba in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:231 (gdb) directory /home/benutzer/source/gnome-nettool/orig/gnome-nettool-42.0/src Source directories searched: /home/benutzer/source/gnome-nettool/orig/gnome-nettool-42.0/src:$cdir:$cwd (gdb) frame 0 #0 0x000055a96b449e29 in lookup_foreach_with_tree (netinfo=0x55a96c2ddfb0, line=0x55a96c0f5b30 ";codethink.co.uk.\t\tIN\tANY\n", len=26, user_data=0x1573084d95e16b00) at ../src/lookup.c:174 174 { (gdb) cont Continuing. Thread 1 "gnome-nettool" hit Hardware watchpoint 2: *0x7fff97413658 Old value = -1780389120 New value = 785843504 0x00007f132eb53394 in _int_free (av=0x7f132ec91c80 <main_arena>, p=0x55a96c0f5b20, have_lock=have_lock@entry=0) at ./malloc/malloc.c:4414 4414 ./malloc/malloc.c: Datei oder Verzeichnis nicht gefunden. 1: x/i $pc => 0x7f132eb53394 <_int_free+4>: push %r13 (gdb) bt #0 0x00007f132eb53394 in _int_free (av=0x7f132ec91c80 <main_arena>, p=0x55a96c0f5b20, have_lock=have_lock@entry=0) at ./malloc/malloc.c:4414 #1 0x00007f132eb561df in __GI___libc_free (mem=<optimized out>) at ./malloc/malloc.c:3367 #2 0x00007f132ed1d309 in g_free (mem=<optimized out>) at ../../../glib/gmem.c:238 #3 0x000055a96b4436c3 in netinfo_io_text_buffer_dialog (channel=<optimized out>, condition=<optimized out>, data=0x55a96c2ddfb0) at ../src/nettool.c:447 #4 0x00007f132ed130d9 in g_main_dispatch (context=context@entry=0x55a96bed0bb0) at ../../../glib/gmain.c:3476 #5 0x00007f132ed16317 in g_main_context_dispatch_unlocked (context=0x55a96bed0bb0) at ../../../glib/gmain.c:4284 #6 g_main_context_iterate_unlocked (context=0x55a96bed0bb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349 #7 0x00007f132ed16c1f in g_main_loop_run (loop=loop@entry=0x55a96c0417d0) at ../../../glib/gmain.c:4551 #8 0x00007f132f3fd65d in gtk_main () at ../../../gtk/gtkmain.c:1329 #9 0x000055a96b4415ba in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:231 (gdb) frame 3 #3 0x000055a96b4436c3 in netinfo_io_text_buffer_dialog (channel=<optimized out>, condition=<optimized out>, data=0x55a96c2ddfb0) at ../src/nettool.c:447 447 g_free (text); (gdb) list netinfo_io_text_buffer_dialog 360 361 gboolean 362 netinfo_io_text_buffer_dialog (GIOChannel * channel, 363 GIOCondition condition, gpointer data) 364 { 365 gchar *text = NULL; 366 gsize len; 367 Netinfo *netinfo = (Netinfo *) data; 368 GError *err = NULL; 369 const gchar *encoding; 370 371 g_return_val_if_fail (channel != NULL, FALSE); 372 g_return_val_if_fail (netinfo != NULL, FALSE); 373 g_return_val_if_fail (netinfo->output != NULL, FALSE); 374 375 #ifdef DEBUG 376 switch (condition) { 377 case G_IO_IN: 378 g_print ("G_IO_IN\n"); 379 break; 380 case G_IO_HUP: 381 g_print ("G_IO_HUP\n"); 382 break; 383 case G_IO_ERR: 384 g_print ("G_IO_ERR\n"); 385 break; 386 case G_IO_NVAL: 387 g_print ("G_IO_NVAL\n"); 388 break; 389 default: 390 g_print ("Nothing\n"); 391 break; 392 } 393 #endif /* DEBUG */ 394 395 if (condition & G_IO_IN) { 396 GIOStatus status; 397 398 status = g_io_channel_read_line (channel, &text, &len, NULL, &err); 399 400 if (status == G_IO_STATUS_NORMAL) { 401 if (netinfo->command_output) { 402 g_string_append (netinfo->command_output, text); 403 g_free (text); 404 text = g_string_free (netinfo->command_output, FALSE); 405 netinfo->command_output = NULL; 406 } 407 408 if (netinfo->process_line != NULL) { 409 (netinfo->process_line) ((gpointer) netinfo, text, 410 len, NULL); 411 } 412 413 } else if (status == G_IO_STATUS_AGAIN) { 414 char buf[1]; 415 416 /* A non-terminated line was read, read the data into the buffer. */ 417 status = g_io_channel_read_chars (channel, buf, 1, NULL, NULL); 418 if (status == G_IO_STATUS_NORMAL) { 419 if (netinfo->command_output == NULL) { 420 netinfo->command_output = g_string_new (NULL); 421 } 422 g_string_append_c (netinfo->command_output, buf[0]); 423 } 424 } else if (status == G_IO_STATUS_EOF) { 425 426 } else if (status == G_IO_STATUS_ERROR) { 427 encoding = g_io_channel_get_encoding (channel); 428 429 if (err->code == G_CONVERT_ERROR_ILLEGAL_SEQUENCE) { 430 g_warning ("Warning: change of encoding: %s. The encoding " 431 "was changed from %s to ISO-8859-1 only " 432 "for this string\n", 433 err->message, 434 encoding); 435 436 g_io_channel_set_encoding (channel, "ISO-8859-1", NULL); 437 g_io_channel_read_line (channel, &text, &len, NULL, NULL); 438 439 } else { 440 g_warning ("Error: %s\n", err->message); 441 g_free (text); 442 g_free (err); 443 } 444 445 } 446 447 g_free (text); 448 449 return TRUE; 450 } 451 452 /* The condition is not G_IO_HUP | G_IO_ERR | G_IO_NVAL, so 453 we are ready to receive a new request from the user */ 454 close (netinfo->pipe_out); 455 /*close (netinfo->pipe_err); */ 456 457 if (condition & G_IO_HUP) { 458 if (netinfo->child_pid > 0) benutzer@debian:~$ /home/benutzer/source/rr/obj/bin/rr replay --debugger-option=-q -p 82776 /home/benutzer/.local/share/rr/gnome-nettool-3 (rr) stepi 0x00005572c3ef1e21 174 { 1: x/i $pc => 0x5572c3ef1e21 <lookup_foreach_with_tree+33>: mov %rcx,0x378(%rsp) (rr) stepi 0x00005572c3ef1e29 174 { 1: x/i $pc => 0x5572c3ef1e29 <lookup_foreach_with_tree+41>: xor %ecx,%ecx (rr) print/x $rsp + 0x378 $1 = 0x7fff90ce1718 (rr) watch *0x7fff90ce1718 Hardware watchpoint 2: *0x7fff90ce1718 (rr) cont Continuing. Thread 1 hit Hardware watchpoint 2: *0x7fff90ce1718 Old value = 1843217920 New value = 1843217975 0x00007f28a2aa5735 in __vfscanf_internal (s=s@entry=0x7fff90ce11c0, format=format@entry=0x5572c3ef6a71 "%s %d %s %s %[^\n]", argptr=argptr@entry=0x7fff90ce11a8, mode_flags=mode_flags@entry=2) at ./stdio-common/vfscanf-internal.c:2896 2896 ./stdio-common/vfscanf-internal.c: Datei oder Verzeichnis nicht gefunden. 1: x/i $pc => 0x7f28a2aa5735 <__vfscanf_internal+14293>: lea 0x1(%rdx),%rax (rr) set width 0 (rr) set pagination off (rr) bt #0 0x00007f28a2aa5735 in __vfscanf_internal (s=s@entry=0x7fff90ce11c0, format=format@entry=0x5572c3ef6a71 "%s %d %s %s %[^\n]", argptr=argptr@entry=0x7fff90ce11a8, mode_flags=mode_flags@entry=2) at ./stdio-common/vfscanf-internal.c:2896 #1 0x00007f28a2a9791d in __GI___isoc99_sscanf (s=0x5572c5b75e70 "codethink.co.uk.\t20762\tIN\tRRSIG\tSOA 10 3 86400 20240531041601 20240501031601 19848 codethink.co.uk. m9sD9b/i+u7lOqOp/I/DSSxR8XoF8nA4bjCkHKdx3w8RdvFUGjOwsH77 5t2+sFagf7qZ2YLcABs+mDpOe3UFzrGcMbNGRkXGYcW"..., format=format@entry=0x5572c3ef6a71 "%s %d %s %s %[^\n]") at ./stdio-common/isoc99_sscanf.c:31 #2 0x00005572c3ef1f1d in strip_line (data=0x7fff90ce1400, line=<optimized out>) at ../src/lookup.c:260 #3 lookup_foreach_with_tree (netinfo=<optimized out>, line=<optimized out>, len=<optimized out>, user_data=<optimized out>) at ../src/lookup.c:189 #4 0x00005572c3eeb7f2 in netinfo_io_text_buffer_dialog (channel=<optimized out>, condition=<optimized out>, data=0x5572c59204a0) at ../src/nettool.c:409 #5 0x00007f28a2c7e0d9 in g_main_dispatch (context=context@entry=0x5572c552dbd0) at ../../../glib/gmain.c:3476 #6 0x00007f28a2c81317 in g_main_context_dispatch_unlocked (context=0x5572c552dbd0) at ../../../glib/gmain.c:4284 #7 g_main_context_iterate_unlocked (context=0x5572c552dbd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349 #8 0x00007f28a2c81c1f in g_main_loop_run (loop=loop@entry=0x5572c568a510) at ../../../glib/gmain.c:4551 #9 0x00007f28a33fd65d in gtk_main () at ../../../gtk/gtkmain.c:1329 #10 0x00005572c3ee95ba in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:231 (rr) codethink.co.uk. 20690 IN RRSIG SOA 10 3 86400 20240531041601 20240501031601 19848 codethink.co.uk. m9sD9b/i+u7lOqOp/I/DSSxR8XoF8nA4bjCkHKdx3w8RdvFUGjOwsH77 5t2+sFagf7qZ2YLcABs+mDpOe3UFzrGcMbNGRkXGYcWnKr9UWDYL/QGL bMbSttF7GRE6FQMaAs76oTLrfMRqOCM7COBp36N74cG3rfnoOpD4uiY6 4O2SMjNY7GU3FcI7MpRNwCqdda7B2PBBNfCW46SvUuLwDftHvMCd3n/W WrmdYjhDh72XZSC2ahb4j03tBf3A6AlFbackcdVUDd8MaY7fmsp4YGcZ V3fJ2lFQn+Uof+0kfHgNVQx6naHjOpFinIF5R52AFA3fUPDs6bY7jd2e rH21gw== #define LOOKUP_FORMAT "%s %d %s %s %[^\n]" count = sscanf (line, LOOKUP_FORMAT, data->source, &(data)->ttl, data->addr_type, data->record_type, data->destination);