[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Avoid segfaulting in mmap test by providing ma
From: |
Christian Kellermann |
Subject: |
[Chicken-hackers] [PATCH] Avoid segfaulting in mmap test by providing map/shared flag |
Date: |
Fri, 12 Apr 2013 09:21:45 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
a victim of bug #1005 is the newly added mmap test. It fails on
linux when neither a MAP_SHARED or MAP_PRIVATE flag is provided.
And it fails as documented for the mmap function. But due to #1005
core does not catch the error condition and segfaults when accessing
the bogus pointer.
So this patch fixes up the sympthom first. I will address #1005
separately.
Kind regards,
Christian
--
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu
0001-Avoid-segfaulting-in-mmap-test-by-providing-map-shar.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-hackers] [PATCH] Avoid segfaulting in mmap test by providing map/shared flag,
Christian Kellermann <=