Subject: Re: CVS commit: src/usr.sbin/pkg_install/lib
To: None <hubertf@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 03/18/2006 02:31:41
> 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