diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2015-10-15 11:10:08 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-11-03 14:40:44 +0100 |
commit | c7c0c9deb0a4b0715d2c09438420437b86f387c4 (patch) | |
tree | 9144935f736ed2457fe09a12d0305b26eed1d98a /security | |
parent | 55a423b6f105fa323168f15f4bb67f23b21da44e (diff) | |
download | linux-c7c0c9deb0a4b0715d2c09438420437b86f387c4.tar.bz2 |
s390/dasd: fix double free in dasd_eckd_read_conf
The configuration data is stored per path and also the first valid
configuration data per device. When dasd_eckd_read_conf is called
again after a path got lost the device configuration data is cleared
but possibly not the per path configuration data. This might lead to a
double free when the lost path gets operational again.
Fix by clearing all per path configuration data when the first valid
configuration data is received and stored.
Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions