OpenSSH 5.6p1 will attempt to free static storage and seg. fault if AuthorizedKeysFile is used within a Match block without any global specification of that option. A simple fix is to xstrdup the defined pathnames as in the attached patch. -- Rein Tollevik Basefarm AS -------------- next part -------------- A non-text attachment was scrubbed... Name: openssh.patch Type: text/x-patch Size: 1102 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100929/64a77f5e/attachment.bin>
Rein Tollevik wrote:> OpenSSH 5.6p1 will attempt to free static storage and seg. fault if > AuthorizedKeysFile is used within a Match block without any global > specification of that option. A simple fix is to xstrdup the defined > pathnames as in the attached patch.Will the memory really be freed in every case? //Peter
On Wed, 29 Sep 2010, Rein Tollevik wrote:> OpenSSH 5.6p1 will attempt to free static storage and seg. fault if > AuthorizedKeysFile is used within a Match block without any global > specification of that option. A simple fix is to xstrdup the defined > pathnames as in the attached patch.Applied - thanks. -d
Possibly Parallel Threads
- AuthorizedKeysFile
- AuthorizedKeysFile with default value prevents Public/Private key authentication
- [Bug 2623] New: AuthorizedKeysFile split pub key and signature with tab `\t` not work.
- [Bug 1764] New: Allow AuthorizedKeysFile in Match
- [Bug 2755] New: [PATCH] sshd_config: allow directories in AuthorizedKeysFile=