[Bug 212520] [PATCH] kern/subr_uio.c: fix integer truncation in fueword64()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 9 13:17:33 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212520

            Bug ID: 212520
           Summary: [PATCH] kern/subr_uio.c: fix integer truncation in
                    fueword64()
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: hchunhui at mail.ustc.edu.cn
          Keywords: patch
             Flags: mfc-stable10?, mfc-stable11?

Created attachment 174574
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174574&action=edit
patch

The "res" variable in fueword64() doesn't have enough width, causing integer
truncation.

This bug was introduced since r273783.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list