Source-Changes archive

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

Re: CVS commit: src/usr.sbin/pkg_install/lib



> Module Name:  src
> Committed By: hubertf
> Date:         Fri Mar 17 02:10:55 UTC 2006
> 
> Modified Files:
>       src/usr.sbin/pkg_install/lib: str.c
> 
> Log Message:
> findbestmatchingname_fn(): only do something sensible if the pointer
> handed in is actually usable (not NULL)
> 
> Fixes Coverity ID 870

have you tested?

i think this makes dewey_cmp crash by passing best_version = NULL,
when best = "".

YAMAMOTO Takashi



Home | Main Index | Thread Index | Old Index