Thread (1 message) 1 message, 1 author, 2016-03-09

Re: [RFC 5/7] wlcore: avoid fragile snprintf use

From: Kalle Valo <hidden>
Date: 2016-03-09 11:49:27
Also in: lkml, netdev

Rasmus Villemoes [off-list ref] writes:
Appending to a buffer like this is not guaranteed to work (passing
overlapping src and dst buffers to snprintf is undefined
behaviour). The standard and safe idiom is to keep track of the
current string length.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Should I take this or what's the plan?

-- 
Kalle Valo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help