[Bug 283702] Out-of-bounds read in Netgraph parsing of binary Netgraph packets

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283702

Mark Johnston <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Mark Johnston <[email protected]> ---
Hrm, many of these unparse routines are buggy.  The size of the source buffer
is not passed to them, and most of the blindly assume that the input is
well-formed.  It is possible to get the input buffer length by moving the data
pointer backwards, like ng_unparse_composite() does, but that's kind of iffy. 
Probably it'd be nicer to pass a pointer to the ng_mesg structure instead, even
though that requires some churn.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.