diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-07-30 12:21:07 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-31 00:50:23 +0200 |
commit | 3589b8b8af6bdc3aafe520d76a73b77d965006b6 (patch) | |
tree | a62376b1c3225aa5ef39e22fce0bef558d59c7ad /Documentation/power/swsusp-dmcrypt.txt | |
parent | 83118b0de3a84c4728822abf6ce60bf6c8d1dbce (diff) | |
download | lwn-3589b8b8af6bdc3aafe520d76a73b77d965006b6.tar.gz lwn-3589b8b8af6bdc3aafe520d76a73b77d965006b6.zip |
ACPICA: Utilities: Fix local printf issue.
The bug can be reproduced by using a format that do not have the width.prec
specified after a format that have the width.prec specified. The second
formatted output will be wrong. The root cause is acpi_ut_vsnprintf()
doesn't reset the specifiers to the default values.
This patch fixes this issue. BZ 1094. Reported by Yizhe Wang, fixed by
Lv Zheng.
Since acpi_ut_vprintf() is only enabled for specific OSPM now, this patch
doesn't affect Linux kernel.
Link: https://bugs.acpica.org/show_bug.cgi?id=1094
Reported-and-tested-by: Yizhe Wang <yizhe.wang@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/power/swsusp-dmcrypt.txt')
0 files changed, 0 insertions, 0 deletions