diff options
| author | David Woodhouse <[email protected]> | 2013-03-14 13:30:20 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2013-03-14 13:57:19 +0000 |
| commit | 6975404fb9bcc3ca41946ce0506f97db30fb8705 (patch) | |
| tree | 530eb057a39ca7a6822fe8054c644f8e9661e580 /net/unix/af_unix.c | |
| parent | hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attrib... (diff) | |
| download | kernel-6975404fb9bcc3ca41946ce0506f97db30fb8705.tar.gz kernel-6975404fb9bcc3ca41946ce0506f97db30fb8705.zip | |
hwmon: (pmbus) Fix krealloc() misuse in pmbus_add_attribute()
If krealloc() returns NULL, it *doesn't* free the original. So any code
of the form 'foo = krealloc(foo, …);' is almost certainly a bug.
Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
