diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-01-17 15:05:34 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-01-17 15:05:34 +0100 |
commit | 768c83b7f60d82db6677e19dc51be9f341e0f3fc (patch) | |
tree | d38258b8e7d496bfde38947163597b60764ebff4 /malloc/Makefile | |
parent | 70ba28f7ab2923d4e36ffc9d5d2e32357353b25c (diff) | |
download | glibc-768c83b7f60d82db6677e19dc51be9f341e0f3fc.tar.gz glibc-768c83b7f60d82db6677e19dc51be9f341e0f3fc.tar.xz glibc-768c83b7f60d82db6677e19dc51be9f341e0f3fc.zip |
Remove incorrect alloc_size attribute from pvalloc [BZ #25401]
pvalloc is guarantueed to round up the allocation size to the page size, so applications can assume that the memory region is larger than the passed-in argument. The alloc_size attribute cannot express that. The test case is based on a suggestion from Jakub Jelinek. This fixes commit 9bf8e29ca136094f73f69f725f15c51facc97206 ("malloc: make malloc fail with requests larger than PTRDIFF_MAX (BZ#23741)"). Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'malloc/Makefile')
-rw-r--r-- | malloc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile index 734efe368d..984045b5b9 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -27,7 +27,7 @@ headers := $(dist-headers) obstack.h mcheck.h tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \ tst-mcheck tst-mallocfork tst-trim1 \ tst-malloc-usable tst-realloc tst-reallocarray tst-posix_memalign \ - tst-pvalloc tst-memalign tst-mallopt \ + tst-pvalloc tst-pvalloc-fortify tst-memalign tst-mallopt \ tst-malloc-backtrace tst-malloc-thread-exit \ tst-malloc-thread-fail tst-malloc-fork-deadlock \ tst-mallocfork2 \ |