]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Correct an inequality sign causing the bounds check in Windows
authorSimon Tatham <anakin@pobox.com>
Mon, 22 Jul 2013 07:12:26 +0000 (07:12 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 22 Jul 2013 07:12:26 +0000 (07:12 +0000)
commit81a11efdafd5de1cd14efcbdc279cc2f404eb3d5
tree4f2fc082c1cbb3828505dba7848dd1a33726119d
parentb3afa10aa736600752fc215da2662d861f26b3be
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.

[originally from svn r9965]
macosx/osxwin.m
windows/window.c