summaryrefslogtreecommitdiff
path: root/coroutine/ppc64le
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2020-04-12 15:19:06 -0400
committerGitHub <noreply@github.com>2020-04-12 15:19:06 -0400
commit82fdffc5ec0ecffc2e49128775d7c09ed43ba59d (patch)
tree9095f4918dd132171ea875b75bfdfa26b0fe2803 /coroutine/ppc64le
parentf2c3848a5bf2bec0b27a6035c4b7399594c32509 (diff)
Avoid UB with flexible array member
Accessing past the end of an array is technically UB. Use C99 flexible array member instead to avoid the UB and simplify allocation size calculation. See also: DCL38-C in the SEI CERT C Coding Standard
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3017 Merged-By: XrXr
Diffstat (limited to 'coroutine/ppc64le')
0 files changed, 0 insertions, 0 deletions