simon-git: putty (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Mon Oct 15 22:54:20 BST 2018
TL;DR:
35a42836 Loosen the validity check in get_mp_ssh1.
b9bfc815 cmdgen: fix segfault on failing to open the output file.
56096ba5 New utility functions to make ptrlens.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-10-15 22:54:20
commit 35a4283615ab07ab122feabd0444c86f0ab495ca
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=35a4283615ab07ab122feabd0444c86f0ab495ca;hp=e966df071cba720318a3b87d4be38b41edfba7a6
Author: Simon Tatham <anakin at pobox.com>
Date: Mon Oct 15 18:53:25 2018 +0100
Loosen the validity check in get_mp_ssh1.
The SSH-1 spec says that it's legitimate to write an mp-int in which
the prefixed uint16 bit count is greater than the minimum number of
bits required to represent the number. I was enforcing that they had
to be actually equal, on pain of a BinarySource decoding error.
sshbn.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit b9bfc81531a897e0160f3914152eca6be4307c3e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=b9bfc81531a897e0160f3914152eca6be4307c3e;hp=35a4283615ab07ab122feabd0444c86f0ab495ca
Author: Simon Tatham <anakin at pobox.com>
Date: Mon Oct 15 22:26:20 2018 +0100
cmdgen: fix segfault on failing to open the output file.
D'oh - simply forgot to check the return value of fopen for NULL.
cmdgen.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
commit 56096ba558727ab88edfac1d2f3adec0183430c4
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=56096ba558727ab88edfac1d2f3adec0183430c4;hp=b9bfc81531a897e0160f3914152eca6be4307c3e
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Oct 13 16:30:59 2018 +0100
New utility functions to make ptrlens.
One to make one from a NUL-terminated string, and another to make one
from a strbuf. I've switched over all the obvious cases where I should
have been using these functions.
cmdgen.c | 2 +-
misc.c | 10 ++++++++++
misc.h | 2 ++
ssh2userauth.c | 4 ++--
sshpubk.c | 6 +++---
5 files changed, 18 insertions(+), 6 deletions(-)
More information about the tartarus-commits
mailing list