On Mon, Nov 21, 2011 at 06:55:11PM +0200, Kalle Valo wrote: > >> len = snprintf(buf, sizeof(buf), "%u %u\n", ar->listen_intvl_t, > >> ar->listen_intvl_b); > >> + len = min(sizeof(buf), len); > > > > Maybe that should be scnprintf instead then? > > Yeah, I agree. And most likely debug.c has even more cases where > scnprintf() is needed. > Yes yes. Obviously. I sent the patch at 5 pm on Friday and lost track of it for a bit. I'll send a fixed version tomorrow morning. regards, dan carpenter
Attachment:
signature.asc
Description: Digital signature