Christoph Biedl 19cebbcb04 isdn: Partially revert debug format string usage clean up
Commit 35a4a57 ("isdn: clean up debug format string usage") introduced
a safeguard to avoid accidential format string interpolation of data
when calling debugl1 or HiSax_putstatus. This did however not take into
account VHiSax_putstatus (called by HiSax_putstatus) does *not* call
vsprintf if the head parameter is NULL - the format string is treated
as plain text then instead. As a result, the string "%s" is processed
literally, and the actual information is lost. This affects the isdnlog
userspace program which stopped logging information since that commit.

So revert the HiSax_putstatus invocations to the previous state.

Fixes: 35a4a5733b0a ("isdn: clean up debug format string usage")
Cc: Kees Cook <keescook@chromium.org>
Cc: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Christoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-25 11:49:58 -05:00
..
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-11-09 17:10:16 -05:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2005-04-16 15:20:36 -07:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2005-04-16 15:20:36 -07:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2005-04-16 15:20:36 -07:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2011-03-17 14:05:34 +01:00
2013-01-03 15:57:02 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00