Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2021 20:05:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 258188] ENCIO_GETSTRING does not set the string's returned size
Message-ID:  <bug-258188-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258188

            Bug ID: 258188
           Summary: ENCIO_GETSTRING does not set the string's returned
                    size
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

According to the comments in the header, the ENCIOC_GETSTRING ioctl has a
IN/OUT bufsiz field.  However, it does not set that field on return, leaving
the caller unsure of how many bytes were actually transferred. That pretty =
much
makes the ioctl useless.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258188-227>