[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange Segfault with V 0.9.3 an MinGW Cross Compile
[Thread Prev] | [Thread Next]
- Subject: Re: Strange Segfault with V 0.9.3 an MinGW Cross Compile
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 15 Jan 2020 08:27:20 +0100
- To: libssh@xxxxxxxxxx
- Cc: g4-lisz@xxxxxxxxxxxx
On Wednesday, 15 January 2020 01:22:13 CET g4-lisz@xxxxxxxxxxxx wrote: > Hi there, Hi, > I cross compiled V 0.9.3 with MinGW on Ubuntu. The compilation worked > flawlessly. > > But when I run my code linked to the resulting libssh.dll, it crashes > immediately when I set verbosity to > 2. > > I could track this down to vsnprintf() which is called through line 865 > in channels.c: > > SSH_LOG(SSH_LOG_PACKET, > "placing %zu bytes into channel buffer (%s)", > len, > s_stderr ? "stderr" : "stdout"); Try s_stderr -> is_stderr Andreas -- Andreas Schneider asn@xxxxxxxxxxxxxx GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
Re: Strange Segfault with V 0.9.3 an MinGW Cross Compile | g4-lisz@xxxxxxxxxxxx |
Strange Segfault with V 0.9.3 an MinGW Cross Compile | g4-lisz@xxxxxxxxxxxx |