[Bug 264649] drm: fix signed integer overflow
Date: Mon, 13 Jun 2022 02:26:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264649 Bug ID: 264649 Summary: drm: fix signed integer overflow Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: xiaohuizhang@ruc.edu.cn Created attachment 234655 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234655&action=edit a possible patch Use 1UL for unsigned long, or we'll meet a overflow issue with UBSAN. -- You are receiving this mail because: You are the assignee for the bug.