diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-12-08 11:39:34 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 17:29:01 +0100 |
commit | 0b2dd130a5a8774a30de1f94266f6b9a9892153c (patch) | |
tree | e0542cc353be9169ec0ce2d6e9e80e9a33dbe963 /drivers/isdn/hisax/hisax_isac.c | |
parent | [PATCH] ISDN: Avoid a potential NULL ptr deref in ippp (diff) | |
download | linux-0b2dd130a5a8774a30de1f94266f6b9a9892153c.tar.xz linux-0b2dd130a5a8774a30de1f94266f6b9a9892153c.zip |
[PATCH] drivers/isdn/*: trivial vsnprintf() conversion
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Alan Cox <alan@redhat.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hisax/hisax_isac.c')
-rw-r--r-- | drivers/isdn/hisax/hisax_isac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/hisax_isac.c b/drivers/isdn/hisax/hisax_isac.c index 81eac344bb03..d0fefcf999cb 100644 --- a/drivers/isdn/hisax/hisax_isac.c +++ b/drivers/isdn/hisax/hisax_isac.c @@ -433,7 +433,7 @@ static void l1m_debug(struct FsmInst *fi, char *fmt, ...) char buf[256]; va_start(args, fmt); - vsprintf(buf, fmt, args); + vsnprintf(buf, sizeof(buf), fmt, args); DBG(DBG_L1M, "%s", buf); va_end(args); } |