On 9/8/22 12:50, Hans Petter Selasky wrote:
See:
https://reviews.freebsd.org/D36493
Looking through base I see qsort() being used in places it shouldn't be
used. For example in fts_open().
If for example you fill a directory with 64k simply numerical file names
in the wrong order and ask fts
See:
https://reviews.freebsd.org/D36493
Looking through base I see qsort() being used in places it shouldn't be
used. For example in fts_open().
If for example you fill a directory with 64k simply numerical file names
in the wrong order and ask fts_open() to sort these ascending for
example,