Branch: refs/heads/master Home: https://github.com/kronosnet/kronosnet Commit: 92020dfe24bbd5a6213477b8f14a1f8b908ee4e5 https://github.com/kronosnet/kronosnet/commit/92020dfe24bbd5a6213477b8f14a1f... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2018-02-25 (Sun, 25 Feb 2018)
Changed paths: M libknet/threads_rx.c M libknet/threads_tx.c
Log Message: ----------- [tx/rx] improve error checking when running external code
libknet cannot guarantee that the dst_host_filter is sane nor that it cannot be exploited to return garbage to knet.
there is an infinitesimal possibility that, if the plugin returns total crap, knet could crash by trying to access out-of-bound memory.
Prevent that by adding specific checks both in TX/RX.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com
Commit: 39ca177c40b55bed092961a3855d12204f5e553c https://github.com/kronosnet/kronosnet/commit/39ca177c40b55bed092961a3855d12... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2018-02-26 (Mon, 26 Feb 2018)
Changed paths: M libknet/threads_rx.c M libknet/threads_tx.c
Log Message: ----------- Merge pull request #138 from kronosnet/host-filter-fix
[tx/rx] improve error checking when running external code
Compare: https://github.com/kronosnet/kronosnet/compare/94a9953d1c7a...39ca177c40b5