diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2010-10-25 16:10:46 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-10-25 16:10:20 +0200 |
commit | 26cffecf84c8cb33787dd13a72bd2124d107d413 (patch) | |
tree | aa50aaad1c06c9a3adb5d5bc15066f6167c2851d /drivers/ide/tc86c001.c | |
parent | e05ef9bdb899e2f3798be74691842fc597d8ce60 (diff) |
[S390] dasd: fix use after free in dbf
Writing to /proc/dasd/statistics while the debug level of the
generic dasd debug entry is set to DBF_DEBUG will lead to an
use after free when accessing the debug entry later.
Since for the format string "%s" in the s390 dbf only a pointer
to the string is stored in the debug feature and the buffer used
here is freed afterwards.
To fix this just remove the debug message.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/ide/tc86c001.c')
0 files changed, 0 insertions, 0 deletions