Skip to content
Snippets Groups Projects
Commit 93e645e7 authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

Add mtod_check()


Recent security issues demonstrate the lack of safety care when casting
a mbuf to a particular structure type. At least, it should check that
the buffer is large enough. The following patches will make use of this
function.

Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
parent 5758d835
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment