]> git.baikalelectronics.ru Git - kernel.git/commit
atm: use scnprintf() instead of sprintf()
authorchas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Mon, 17 Dec 2012 06:00:01 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2012 04:50:51 +0000 (20:50 -0800)
commitcc6ae80e6d89d10d1a20e0920c7d4e8a713ef4a3
treedf6fad87e61b45af98d0a2a540bf07318b4a4f7f
parent28300e93aad2dd863ac87ca8aa7ea6312e070b1d
atm: use scnprintf() instead of sprintf()

As reported by Chen Gang <gang.chen@asianux.com>, we should ensure there
is enough space when formatting the sysfs buffers.

Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/atm_sysfs.c