mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
Fix bug on hm_SYSFS_CPU_get_syspath_hwmon()
This commit is contained in:
parent
11295e4679
commit
80a671eab7
@ -63,7 +63,7 @@ char *hm_SYSFS_CPU_get_syspath_hwmon ()
|
||||
|
||||
if (hc_fopen_raw (&fp, path, "rb") == false) continue;
|
||||
|
||||
char buf[16];
|
||||
char buf[32] = { 0 };
|
||||
|
||||
const size_t line_len = fgetl (&fp, buf, sizeof (buf));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user