--- - branch: netbsd-8 date: Fri Aug 16 15:24:41 UTC 2019 files: - new: 1.75.6.1 old: '1.75' path: src/sys/dev/acpi/acpi_ec.c pathrev: src/sys/dev/acpi/acpi_ec.c@1.75.6.1 type: modified id: 20190816T152441Z.5ded520e42c7efe5fee911c592956ffc9d29a5fc log: "Pull up following revision(s) (requested by msaitoh in ticket #1337):\n\n\tsys/dev/acpi/acpi_ec.c: revision 1.76\n\tsys/dev/acpi/acpi_ec.c: revision 1.77\n\n- Fix a bug that acpiec_space_handler() doesn't access more than 64bit\n correctly. Found by kUBSan on Thinkpad X220. acpiec0 accessed 128bits from\n address 0xa0. The error message was:\n\tUBSan: Undefined Behavior in ../../../../dev/acpi/acpi_ec.c:672:32, shift exponent 64 is too large for 64-bit type 'long unsigned int'\n- KNF.\n- Make the case that width < 8 behave as the same as before. Pointed out by\n Joerg.\n- Change \"switch\" to \"if\" for simplify.\n" module: src subject: 'CVS commit: [netbsd-8] src/sys/dev/acpi' unixtime: '1565969081' user: martin