Branch: refs/heads/master Home: https://github.com/kronosnet/kronosnet Commit: 18ca388be96bc26805071027d808a5d548dfdd1b https://github.com/kronosnet/kronosnet/commit/18ca388be96bc26805071027d808a5... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2021-04-11 (Sun, 11 Apr 2021)
Changed paths: M libknet/Makefile.am M libknet/compress.c M libknet/crypto.c M libknet/handle.c M libknet/handle_api.c M libknet/host.c M libknet/internals.h A libknet/lib_config.c M libknet/links.c M libknet/logging.c M libknet/onwire.c M libknet/tests/Makefile.am M libknet/tests/api_knet_handle_free.c M libknet/threads_common.c M libknet/threads_pmtud.c M libknet/threads_rx.c M libknet/threads_tx.c M libknet/transports.c
Log Message: ----------- [handle] validate handle in public API
- add _is_valid_handle() function to verify if a handle is known, via qb_list*
- change all (and only) public API to use _is_valid_handle().
- move library config bits to lib_config.c and keep header bit in internal.h. this is more of a commodity need to simplify accessability of above function to the test suite at link time.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com
Commit: e3bbac3c343fc0bd2763116b26678dfcd3b1965e https://github.com/kronosnet/kronosnet/commit/e3bbac3c343fc0bd2763116b26678d... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2021-04-14 (Wed, 14 Apr 2021)
Changed paths: M libknet/Makefile.am M libknet/compress.c M libknet/crypto.c M libknet/handle.c M libknet/handle_api.c M libknet/host.c M libknet/internals.h A libknet/lib_config.c M libknet/links.c M libknet/logging.c M libknet/onwire.c M libknet/tests/Makefile.am M libknet/tests/api_knet_handle_free.c M libknet/threads_common.c M libknet/threads_pmtud.c M libknet/threads_rx.c M libknet/threads_tx.c M libknet/transports.c
Log Message: ----------- Merge pull request #337 from kronosnet/safe-handles
[handle] validate handle in public API
Compare: https://github.com/kronosnet/kronosnet/compare/6d5ef32f2463...e3bbac3c343f