simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon Jul 22 08:12:26 BST 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9965
Date:           2013-07-22 08:12:26 +0100 (Mon, 22 Jul 2013)

Log message (8 lines):
Correct an inequality sign causing the bounds check in Windows
palette_set() to be bogus. Fortunately, this isn't exploitable through
the terminal emulator, because the palette escape sequence parser
contains its own bounds check before even calling palette_set().

While I'm at it, fix the same goof in the OS X version! That port is
more or less abandoned, but that's no excuse for leaving obviously
wrong code lying around.

Modified files:
U   putty/macosx/osxwin.m
U   putty/windows/window.c

Links:
http://svn.tartarus.org/sgt/?rev=9965&view=rev
http://svn.tartarus.org/sgt/putty/macosx/osxwin.m?rev=9965&r1=9964&r2=9965
http://svn.tartarus.org/sgt/putty/windows/window.c?rev=9965&r1=9964&r2=9965



More information about the tartarus-commits mailing list