[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dmidecode] [PATCH v2] dmidecode: Increase the size of raw_data in d
From: |
Yang Yanchao |
Subject: |
Re: [dmidecode] [PATCH v2] dmidecode: Increase the size of raw_data in dmi_dump and prevent overwriting. |
Date: |
Thu, 24 Feb 2022 11:10:50 +0800 |
Excuse me, I found that the following submission fixed this issue
commit 11e134e54d15e67a64c39a623f492a28df922517
Author: Jean Delvare <jdelvare@suse.de>
Date: Tue Jan 19 16:26:01 2021 +0100
dmidecode: Fix crash with -u option
A segmentation fault was reported with option -u. Turns out to be a
stupid thinko where the buffer offset was reset at the wrong loop
depth.
Reported-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Fixes: da06888d08b9 ("dmidecode: Use the print helpers in dump mode too")
Signed-off-by: Jean Delvare <jdelvare@suse.de>
--
Yang Yanchao