[Bug 261829] lang/expect: fix build with only lang/tcl87 installed
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 261829] lang/expect: fix build with only lang/tcl87 installed"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Nov 2025 19:59:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261829 --- Comment #5 from Dimitry Andric <dim@FreeBSD.org> --- Created attachment 265606 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265606&action=edit lang/expect: fix format string vulnerability in exp_clib.c (In reply to Shawn Webb from comment #4) Looks like it was generated a _very_ long time ago using "make makepatch", but if you run this again you get a patch that is functionally equivalent, but with lots of context differences. In any case, something like this new patch should work. I've replaced the fprintf() calls with simpler fputs() ones. You could also do fprintf(fp, "%s", str) but I think that is more cumbersome. -- You are receiving this mail because: You are on the CC list for the bug.