]> 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)
commit266675cfad49bbb15f6ce81361cba788a68274ec
treedf6fad87e61b45af98d0a2a540bf07318b4a4f7f
parent2def2cfc4439c7e3c4e11c1e57d2ced29f29528c
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