We should not assume anything about the length of the files in /sys/firmware/dmi/tables.
[PATCH 1/3] Let read_file return the actual data size [PATCH 2/3] dmidecode: Use read_file() to read the DMI table from sysfs [PATCH 3/3] dmidecode: Check sysfs entry point length -- Jean Delvare SUSE L3 Support _______________________________________________ https://lists.nongnu.org/mailman/listinfo/dmidecode-devel
