SVNews r327781

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-01-10 19:45:38 - r327781 by pfg (Pedro F. Giffuni)

Complete list of files affected by revision r327781:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/ufs/ufs/ufs_dirhash.c  

Commit message:

Use mallocarray(9) in dirhash.

Basic use of mallocarray to prevent overflows. Here allocation is done
with M_NOWAIT so the code is prepared for the possibility of returning
NULL values. Since mallocarray expects unsigned parameters, unsign some
related variables to minimize sign conversions.

Reviewed by: mckusick

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 0 ms, 1 file printed. Current time is 2018-04-19 15:19:16. All times are in UTC/GMT.