diff options
| author | Christoph Biedl <[email protected]> | 2015-11-25 07:47:40 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-11-25 11:49:58 -0500 |
| commit | 19cebbcb04c8277bb8a7905957c8af11967c4e28 (patch) | |
| tree | 41f8d634a7c0ea779bd199c75c36a776da018296 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 8c7188b23474cca017b3ef354c4a58456f68303a (diff) | |
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 <[email protected]>
Cc: Karsten Keil <[email protected]>
Signed-off-by: Christoph Biedl <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions