Re: sshd 7.4p1 with ssl 1.0.2j seg faults, MacOSX 10.12.2/3, clang-800.0.42.1

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Thu, Jan 26, 2017 at 10:49 AM, Zube <Zube@xxxxxxxxxxxxxxxxxx> wrote:
[...]
> regress/unittests/utf8/tests.c:  51
> test #9  "utf8_inv_badbyt"
>
> ASSERT_INT_EQ (len, wantlen) failed:
>   len = 2
>   wantlen = 5

That's not a segfault, it's an assertion failure in a UTF8 unit test,
most likely because it's not escaping something that the tests think
should be.
You can skip these tests by setting the environment variable
TEST_SSH_UTF8=no to see if there are other problems.

The test in question is:

  one("inv_badbyte", "\377x", -2, -2, -2, "\\377x");

which passes it through OpenSSH's snmprintf which passes it through a
handful of multibyte and wide character functions, so it's not
immediately obvious what's going on.  It passes here on a mac mini
running 11.4.2, though, so it'd be interesting to see what's different
between them.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux