about summary refs log tree commit diff
path: root/test-skeleton.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-30 20:10:56 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-01-04 12:58:40 +0100
commit9bb04ec133b30fd106782b2105b8edca93b052e6 (patch)
tree492da765f640680fbbaa66b83a9574d5f3bee741 /test-skeleton.c
parentc3fe737243b7661d8aca2d9f5d76e966f5c537df (diff)
downloadglibc-9bb04ec133b30fd106782b2105b8edca93b052e6.tar.gz
glibc-9bb04ec133b30fd106782b2105b8edca93b052e6.tar.xz
glibc-9bb04ec133b30fd106782b2105b8edca93b052e6.zip
dynarray: Set errno on overflow-induced allocation failure
This allows the caller to return directly on such an error, with an
appropriate errno value.

(cherry picked from commit 5898f4548efdcd7c0fd437a74eeb80facc51a117)
Diffstat (limited to 'test-skeleton.c')
0 files changed, 0 insertions, 0 deletions