Subject: Re: which class for unknown CPU
To: None <port-i386@netbsd.org>
From: Tom Spindler <dogcow@babymeat.com>
List: port-i386
Date: 03/22/2006 16:55:04
> coverity found and issue in identcpu.c; identifycpu() can overflow classname[]
> by one. The cause is at line 1166, where setting family to CPU_MAXFAMILY
> for unknown CPU.
> 
> Should we extend the classname[] array, adding an "unknown" at the end,
> or fall back to the lowest class (i386) in this case ?
> The second makes more sense to me.

The second, I think.