On Tue, Oct 04, 2016, Otto Moerbeek wrote:
> On Tue, Oct 04, 2016 at 04:00:50AM -0700, Claus Assmann wrote:

> > This doesn't seem to resolve the problem that sa->rate is
> > not initialized, so a simple file like this still triggers

> Likely, this is better.

> RCS file: /cvs/src/sbin/disklabel/editor.c,v

>               sa = &(alloc_table[0].table[idx]);
> +             memset(sa, 0, sizeof(*sa));

Clearing the entire struct is certainly the easiest approach.
Thanks.

Reply via email to