[Bug 264468] libc: fix possible integer underflow

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Jun 2022 09:48:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264468

            Bug ID: 264468
           Summary: libc: fix possible integer underflow
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ruc_gongyuanjun@163.com

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

In serv_unmarshal_func, rpc_unmarshal_func and
__proto_unmarshal_func, there might be an integer underflow if
the buffer is small.

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