--- cups-1.2svn-r5137/scheduler/dirsvc.c.browse 2006-03-01 14:22:04.000000000 +0000 +++ cups-1.2svn-r5137/scheduler/dirsvc.c 2006-03-01 14:22:34.000000000 +0000 @@ -806,10 +806,10 @@ * printer-make-and-model attributes... */ - dequote(location, p->location, sizeof(p->location)); - dequote(info, p->info, sizeof(p->info)); + dequote(location, p->location, strlen(p->location) + 1); + dequote(info, p->info, strlen(p->info) + 1); dequote(make_model, p->make_model ? p->make_model : "Unknown", - sizeof(make_model)); + p->make_model ? strlen(make_model) + 1 : 8); /* * Send a packet to each browse address...