On Sat, Jan 17, 2009 at 03:02:08PM +0900, Ian Kent wrote:
> On Fri, 2009-01-16 at 19:58 -0800, Valerie Aurora Henson wrote:
> > @@ -1523,18 +1524,12 @@ int lookup_read_master(struct master *master, 
> > time_t age, void *context)
> >                     goto next;
> >             }
> >  
> > -           blen = strlen(*keyValue) + 1 + strlen(*values) + 2;
> > -           if (blen > PARSE_MAX_BUF) {
> > +           if (snprintf(parse_buf, sizeof(parse_buf), "%s %s",
> > +                        *keyValue, *values) > sizeof(parse_buf)) {
> 
> Think that has to be >=, as Jeff mentioned earlier.

Yes, thanks for catching that and fixing it in your respin.

-VAL

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to