diff options
author | Neven Sajko <nsajko@gmail.com> | 2016-05-28 03:13:35 +0200 |
---|---|---|
committer | David du Colombier <0intro@gmail.com> | 2020-01-02 21:47:32 +0100 |
commit | 8cd46ae7bc031f311c833ad32445f5cde1916f99 (patch) | |
tree | aa70ace29b73305e37d490dbaa3c233007b0318f /src/cmd/vac/vacfs.c | |
parent | d6f8c236b8c601781cef6f8521fd47dffa1758b4 (diff) | |
download | plan9port-8cd46ae7bc031f311c833ad32445f5cde1916f99.tar.gz plan9port-8cd46ae7bc031f311c833ad32445f5cde1916f99.tar.bz2 plan9port-8cd46ae7bc031f311c833ad32445f5cde1916f99.zip |
ls: check that pointer is not nil before calling qsort
Passing a null pointer to qsort is an error in C (GCC and Clang agree
with the standards there, so this is no joke).
Change-Id: Ia2b015793a75ea4e85ae8f47da6beead9c4290e6
Diffstat (limited to 'src/cmd/vac/vacfs.c')
0 files changed, 0 insertions, 0 deletions