memchr: Work around bug on Android <= 5.0

2019-01-24 Thread Bruno Haible
On Android 4.3, I'm seeing this test failure from a testdir: ../../gltests/test-memchr.c:60: assertion 'MEMCHR (input + 1, 0x789abc00 | 'e', n - 1) == input + n - 2' failed FAIL test-memchr (exit status: 139) 2019-01-24 Bruno Haible memchr: Work around bug on Android <= 5.0.

fix some build errors on Android 4.3

2019-01-24 Thread Bruno Haible
On Android 4.3 (native compilation environment, through the 'Terminal IDE' app), I'm seeing a number of build errors when building testdirs. I) There is no /bin/sh. The shell is /system/bin/sh and is available through $PATH. This causes problems in a couple of places. One of them is that all

Re: VLA and alloca

2019-01-24 Thread Tim Rühsen
On 1/20/19 4:36 PM, Bruno Haible wrote: > Pádraig Brady wrote: >> I've not analyzed the security concerns in detail, but in general >> large allocations on the stack are bad for security > > Indeed. Just reading this CVE [1] from a week ago, makes me want to > disable all large allocations on the

Re: test-rwlock1 failing on latest Fedora Rawhide

2019-01-24 Thread Richard W.M. Jones
I see two patches that went into gnulib overnight. I have now tried compiling hivex with gnulib at commit 34881aff4043, and that seems to have fixed the problem, thanks all. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtuali

Re: test-rwlock1 failing on latest Fedora Rawhide

2019-01-24 Thread Richard W.M. Jones
On Thu, Jan 24, 2019 at 01:38:28AM +0300, Dmitry V. Levin wrote: > On Wed, Jan 23, 2019 at 10:24:26PM +, Richard W.M. Jones wrote: > > On Thu, Jan 24, 2019 at 01:09:52AM +0300, Dmitry V. Levin wrote: > > > On Wed, Jan 23, 2019 at 09:14:30PM +, Richard W.M. Jones wrote: > > > > On Thu, Jan 2