[Bug 3534] probable underflow calculating display width of file name
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Feb 17 16:29:28 AEDT 2023
https://bugzilla.mindrot.org/show_bug.cgi?id=3534
--- Comment #12 from Damien Miller <djm at mindrot.org> ---
Created attachment 3679
--> https://bugzilla.mindrot.org/attachment.cgi?id=3679&action=edit
different approach
Here's a different approach that uses asmprintf() and xextendf() to
build the string, avoiding all the strlen() math.
It's probably safer but makes a few more syscalls and heap operations
per progressmeter update. IMO safety wins here.
--
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.
More information about the openssh-bugs
mailing list