bug-make
[Top][All Lists]
Advanced

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

Re: gmake-4.2.90 regression (segmentation fault in sum_up_to_nul )


From: Paul Smith
Subject: Re: gmake-4.2.90 regression (segmentation fault in sum_up_to_nul )
Date: Sat, 05 Oct 2019 13:37:12 -0400
User-agent: Evolution 3.32.1-2

On Tue, 2019-09-03 at 04:14 +0000, Dmitry Goncharov via Bug reports and
discussion for GNU make wrote:
> sum_up_to_nul reads 4 bytes starting from the passed string 'p'.
> 'p' can have fewer than 4 bytes. Usually there more allocated space
> after 'p', which prevents this reading from manifesting itself. This
> reading manifests itself visibly when 'p' points to the end of the
> allocated block of memory, such that p + 3 points to not allocated
> memory.
> Please have a look at the patch in the attachment.
> Tested on both big and little endian, 32 and 64 bit.

Thanks Dmitry I applied a patch similar to yours (will push soon).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]