Skip to content
Commit 4e6d2347 authored by Maciej W. Rozycki's avatar Maciej W. Rozycki
Browse files

stdlib/tst-qsort2.c: Fix off-by-one argc interpretation error

This fixes an off-by-one argc interpretation error (argv[0] is included
in the count) in stdlib/tst-qsort2.c causing a segfault if the program
is called with one command-line argument only (argv[2] is NULL in that
case).
parent 7fd00f99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment