]> git.karo-electronics.de Git - mv-sheeva.git/commit
isdn: cleanup: make buffer smaller
authorDan Carpenter <error27@gmail.com>
Sat, 4 Sep 2010 08:33:03 +0000 (08:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 01:29:19 +0000 (18:29 -0700)
commitf417f5e4ba79a08e992c79a4bb84c8a8c5062017
tree4142b1329e245ad62a144e0e6fedd64554b9af00
parent017d79ef0073fdb170dcf185dc4c2456a304d659
isdn: cleanup: make buffer smaller

This showed up in my audit because we use strcpy() to copy "ds" into a
32 character buffer inside the isdn_tty_dial() function.  But it turns
out that we only ever use the first 32 characters so it's OK.  I have
changed the declaration to make the static checkers happy.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/i4l/isdn_tty.c