cvs commit: src/lib/libc/stdlib heapsort.c qsort.c

David Schultz das at FreeBSD.org
Sat Jan 12 18:11:11 PST 2008


das         2008-01-13 02:11:10 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      heapsort.c qsort.c 
  Log:
  Use size_t to avoid overflow when sorting arrays larger than 2 GB.
  
  PR:             111085
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.6       +1 -1      src/lib/libc/stdlib/heapsort.c
  1.14      +2 -1      src/lib/libc/stdlib/qsort.c


More information about the cvs-all mailing list