|
From: Philippe W. <phi...@sk...> - 2017-02-02 18:16:51
|
On Thu, 2017-02-02 at 18:14 +0100, Petar Jovanovic wrote: > Has anyone tested memcheck/tests/leak-segv-jmp on platforms with larger > page sizes, e.g. 64K? > It causes a segmentation fault, since mprotect call protects non- > allocated areas too, and the call to calloc crashes afterwards. > > Anyone objects if value of nr_ptr is increased to cover this case? > See the patch below. The change looks good to me. Philippe |