Subject: Re: [PATCH] known_hosts: Fail when parsing unknown keys in known_hosts file.

Re: [PATCH] known_hosts: Fail when parsing unknown keys in known_hosts file.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 21 Aug 2012 20:28:55 +0200 (CEST)

On Tue, 21 Aug 2012, Peter Krempa wrote:

> libssh2_knownhost_readfile() silently ignored problems when reading keys in
> unsupported formats from the known hosts file. When the file is written
> again from the internal structures of libssh2 it gets truntcated to the
> point where the first unknown key was located.

Thanks, applied and pushed!

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-08-21