]> sourceware.org Git - glibc.git/commit
fortify: Fix spurious warning with realpath
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 17 Dec 2021 13:05:44 +0000 (18:35 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 17 Dec 2021 13:19:27 +0000 (18:49 +0530)
commit2bbd07c715275eb6c616988925738a0517180d57
tree74a7b45044d12f1f5b5b8aab16e1f9c6fad6bc23
parentb99b0f93ee8762fe53ff65802deb6f00700b9924
fortify: Fix spurious warning with realpath

The length and object size arguments were swapped around for realpath.
Also add a smoke test so that any changes in this area get caught in
future.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
debug/Makefile
debug/tst-realpath-chk.c [new file with mode: 0644]
stdlib/bits/stdlib.h
This page took 0.039743 seconds and 5 git commands to generate.