aboutsummaryrefslogtreecommitdiff
path: root/hardinfo/hardinfo.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-08-27 12:39:57 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2017-08-27 10:53:14 -0700
commitb95e8e2574029bfbeabddd1f8df99906a4f695e6 (patch)
tree69416c0b85444ac35c823db2ef97ccd1df8f731d /hardinfo/hardinfo.c
parent7ede287478d9f76166b6c5a9fa21bbd6199334c2 (diff)
dmi: check for null from dmi_get_str() in dmi_chassis_type_str()
Fix a crash when there is no DMI available. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'hardinfo/hardinfo.c')
0 files changed, 0 insertions, 0 deletions