[Bug 1208937] mtr aborts when run in reporting mode
11 Apr
2023
11 Apr
'23
13:52
http://bugzilla.opensuse.org/show_bug.cgi?id=1208937 http://bugzilla.opensuse.org/show_bug.cgi?id=1208937#c5 --- Comment #5 from Eugene Popov <popov895@ukr.net> --- (In reply to Marcus Meissner from comment #2)
you built it without overflow checking ;)
anyway, fixed like this in factory:
+- snprintf(buf + len, sizeof(buf), fmt, data_fields[j].title); ++ snprintf(buf + len, sizeof(buf) - len, fmt, data_fields[j].title);
Thanks for fixing it. Can you send your patch to upstream? -- You are receiving this mail because: You are on the CC list for the bug.
618
Age (days ago)
618
Last active (days ago)
0 comments
1 participants
participants (1)
-
bugzilla_noreply@suse.com