https://bugs.winehq.org/show_bug.cgi?id=52353
Bug ID: 52353 Summary: PuTTY plink 0.76 crashes Product: Wine Version: 7.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: vladimir.kubes@honeywell.com Distribution: ---
Created attachment 71530 --> https://bugs.winehq.org/attachment.cgi?id=71530 Backtrace report
Environment: Linux 5.4.0-92-generic #103-Ubuntu SMP Fri Nov 26 16:13:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Commandline to produce error: wine start /wait plink -i Z:\home%USER%.ssh\saved_private_key.ppk %USER%@localhost echo
Also relevant to wine version: 6.21, 6.22, 6.23, 7.0-rc1, 7.0-rc2, 7.0-rc3
https://bugs.winehq.org/show_bug.cgi?id=52353
--- Comment #1 from Vladimir Kubes vladimir.kubes@honeywell.com --- Created attachment 71531 --> https://bugs.winehq.org/attachment.cgi?id=71531 Backtrace report for Wine version 6.21
https://bugs.winehq.org/show_bug.cgi?id=52353
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Could you attach +kerberos trace too? Run as "WINEDEBUG=+kerberos wine <your command>". Maybe it's simply a case of NULL expiry argument.
https://bugs.winehq.org/show_bug.cgi?id=52353
--- Comment #3 from Vladimir Kubes vladimir.kubes@honeywell.com --- Created attachment 71532 --> https://bugs.winehq.org/attachment.cgi?id=71532 trace with WINEDEBUG=+kerberos
https://bugs.winehq.org/show_bug.cgi?id=52353
Vladimir Kubes vladimir.kubes@honeywell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.chiark.greenend | |.org.uk/~sgtatham/putty/lat | |est.html
https://bugs.winehq.org/show_bug.cgi?id=52353
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=52353
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #4 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 71539 --> https://bugs.winehq.org/attachment.cgi?id=71539 trace with +kerberos of a plink.exe with debug symbols
Looks like in [1] plink calls AcquireCredentialsHandleA with the ptsExpiry parameter being a NULL pointer.
Documentation seems to indicate this ptsExpiry pointer being optional and therefore a NULL pointer not forbidden.
[1] https://git.tartarus.org/?p=simon/putty.git;a=blob;f=windows/gss.c;h=ebe5698...
https://bugs.winehq.org/show_bug.cgi?id=52353
--- Comment #5 from Vladimir Kubes vladimir.kubes@honeywell.com --- Created attachment 71596 --> https://bugs.winehq.org/attachment.cgi?id=71596 plink trace with WINEDEBUG=+kerberos (wine6.20)
with wine up to version 6.20 everything works fine
https://bugs.winehq.org/show_bug.cgi?id=52353
--- Comment #6 from Hans Leidekker hans@meelstraat.net --- Created attachment 71597 --> https://bugs.winehq.org/attachment.cgi?id=71597 patch
This should fix the crash.
https://bugs.winehq.org/show_bug.cgi?id=52353
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=52353
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |ea96a9c81715fe4e7d8cc5a0bc6 | |26f965c6b14e4 Status|UNCONFIRMED |RESOLVED
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- Should be fixed with ea96a9c81715fe4e7d8cc5a0bc626f965c6b14e4.
https://bugs.winehq.org/show_bug.cgi?id=52353
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |secur32
https://bugs.winehq.org/show_bug.cgi?id=52353
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=52353
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|https://www.chiark.greenend |https://web.archive.org/web |.org.uk/~sgtatham/putty/lat |/20210718100211/https://the |est.html |.earth.li/~sgtatham/putty/0 | |.76/w64/plink.exe
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20210718100211/https://the.earth.li/~sgtatham/pu...
https://www.virustotal.com/gui/file/828e81aa16b2851561fff6d3127663ea2d1d6857...
$ sha1sum plink.exe 4709827c7a95012ab970bf651ed5183083366c79 plink.exe
$ du -sh plink.exe 716K plink.exe
Regards