mirror of https://git.musl-libc.org/git/musl
Browse Source
When an option that requires an argument is the last character of argv[argc-1], getopt computes argv[argc] + optpos. While optpos is always zero in this case, adding it to null pointer is still undefined.master
committed by
Rich Felker
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue