]> git.ipfire.org Git - people/ms/suricata.git/commit - src/app-layer-ssl.c
ssl: copy data using a safe memcpy wrapper
authorVictor Julien <victor@inliniac.net>
Fri, 3 Apr 2020 14:31:00 +0000 (16:31 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 28 Apr 2020 12:07:54 +0000 (14:07 +0200)
commitd1ada2e13c207e0937f8a4818d5731d319f5fa07
tree05ab4900dab6931baa8af4c9a5fd2bbf0ab99750
parentcffbdff024eab99d6871ce44c40f895cd1ea535e
ssl: copy data using a safe memcpy wrapper

To avoid future memcpy issues introduce a wrapper and check the
result of it.

When compiled with --enable-debug-validation the wrapper will abort if
the input is wrong.
src/app-layer-ssl.c