mirror of https://git.musl-libc.org/git/musl
Browse Source
performing n-- is not a safe operation for arbitrary signed input n. only perform the decrement in the code path where the initial n is greater than 1, and adjust the condition in the n<=1 code path to compensate for it not having been decremented.master
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue