Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/ufs/ffs



On Thu, Mar 23, 2006 at 11:16:48AM +0000, Juergen Hannken-Illjes wrote:
> 
> Module Name:  src
> Committed By: hannken
> Date:         Thu Mar 23 11:16:48 UTC 2006
> 
> Modified Files:
>       src/sys/ufs/ffs: ffs_balloc.c
> 
> Log Message:
> ffs_balloc*(): Add an assertion for "bpp != NULL" if B_METAONLY is set.

Why? bpp is immediately dereferenced, so if it is NULL, the kernel will
panic anyway.

Pavel



Home | Main Index | Thread Index | Old Index