https://bugzilla.mindrot.org/show_bug.cgi?id=2434
--- Comment #16 from Darren Tucker <dtuc...@zip.com.au> --- (In reply to Damien Miller from comment #15) > produces the expected "\022XXX" output too for both LC_CTYPE set to > UTF-8 and C... interesting, your test code behaves as expected on OpenBSD but not on Linux (Fedora 24), both using the portable code. char b[80]; int x = 20; snmprintf(b, sizeof(b), &x, "ab\x12XXX"); printf("len %d, '%s'\n", strlen(b), b); return 0; openbsd-current: len 9, 'ab\022XXX' fedora24: len 2, 'ab' -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug. _______________________________________________ openssh-bugs mailing list openssh-bugs@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-bugs