Commit 7253bbe
David Sommerseth
Fixed an issue causing SEGV on some hardware when dmi_processor_id() is called
The dmi_processor_id() function did not check the char *version pointer if it
was NULL before doing strcmp(). On some hardware, *version will be NULL.1 parent 1e9d9ab commit 7253bbe
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | | - | |
1023 | 1022 | | |
1024 | 1023 | | |
1025 | 1024 | | |
| |||
1075 | 1074 | | |
1076 | 1075 | | |
1077 | 1076 | | |
1078 | | - | |
| 1077 | + | |
1079 | 1078 | | |
1080 | 1079 | | |
1081 | 1080 | | |
| |||
0 commit comments