Branch: refs/heads/stable1-proposed
Home:
https://github.com/kronosnet/kronosnet
Commit: 62da86bf3434d2d14f287c8a66d5631ab354f787
https://github.com/kronosnet/kronosnet/commit/62da86bf3434d2d14f287c8a66d56…
Author: yuan ren <yren(a)suse.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/compress.c
M libknet/compress_bzip2.c
M libknet/compress_lz4.c
M libknet/compress_lz4hc.c
M libknet/compress_lzma.c
M libknet/compress_lzo2.c
M libknet/compress_model.h
M libknet/compress_zlib.c
M libknet/compress_zstd.c
M libknet/tests/api_knet_handle_compress.c
Log Message:
-----------
Default compress level use
Discuss with Fabio, invalid compression level not the knet
responsible for, so error logged. But if compress success but
dstLen larger than srcLen, defualt compression level will be
used, because the request level is not effective.
Signed-off-by: yuan ren <yren(a)suse.com>
Commit: 7e4103482fa81e47ee5e1d344b0f9972830a91b9
https://github.com/kronosnet/kronosnet/commit/7e4103482fa81e47ee5e1d344b0f9…
Author: yuan ren <yren(a)suse.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/tests/api_knet_handle_compress.c
Log Message:
-----------
[compress]Default compression level use
1. add test casees for a module without default.Using default
compression level.
2. Discuss with Fabio, invalid compression level not the knet
responsible for, so error logged. But if compress success but
dstLen larger than srcLen, defualt compression level will be
used, because the request level is not effective.
Signed-off-by: yuan ren <yren(a)suse.com>
Commit: a3beb3c4f299af1f5c64f30195e41367c48d47db
https://github.com/kronosnet/kronosnet/commit/a3beb3c4f299af1f5c64f30195e41…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/compress.c
Log Message:
-----------
[compress] fix a few minor space vs tab and code formatting
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 9952335aa1e8f108e11ecd3b01375788baf9eeb7
https://github.com/kronosnet/kronosnet/commit/9952335aa1e8f108e11ecd3b01375…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/tests/api_knet_handle_compress.c
Log Message:
-----------
[compress] fix #if def around BZIP2 testing
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: e773c94251302ac8f0c41dff2baec6a7d486ce13
https://github.com/kronosnet/kronosnet/commit/e773c94251302ac8f0c41dff2baec…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
A .travis.yml
Log Message:
-----------
[coverity] add .travis.yml to integrate CI with coverity scan
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 021e57d335b2061ff5f291d514109a7d344f0cf8
https://github.com/kronosnet/kronosnet/commit/021e57d335b2061ff5f291d514109…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] fix deference after null check
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 95c6335c9b92c15c6b83b158d54aa644f6ccbd5b
https://github.com/kronosnet/kronosnet/commit/95c6335c9b92c15c6b83b158d54aa…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] free access list only if the socket is valid
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 054d97343ec7f10eeceab2863a9aaebe8e2ee5d0
https://github.com/kronosnet/kronosnet/commit/054d97343ec7f10eeceab2863a9aa…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/internals.h
Log Message:
-----------
[rx] align data types
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: cc630fee36f94998708c5cd42fd9311969b7567a
https://github.com/kronosnet/kronosnet/commit/cc630fee36f94998708c5cd42fd93…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/handle.c
Log Message:
-----------
[handle] make sure that the pmtud buf contains at least knet header size
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 5dd7bbf83abb604928d9162cfd938d9afa8e52b6
https://github.com/kronosnet/kronosnet/commit/5dd7bbf83abb604928d9162cfd938…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] revalidate fd to make coverity scan happy
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: e6a050020602ac9e72d3b473451335f58c3ae549
https://github.com/kronosnet/kronosnet/commit/e6a050020602ac9e72d3b47345133…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/tests/knet_bench.c
Log Message:
-----------
[tests] fix knet_bench coverity errors
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 47e8638403bf5e73e8f4b8508c27a09031d0a1c1
https://github.com/kronosnet/kronosnet/commit/47e8638403bf5e73e8f4b8508c27a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/common.c
Log Message:
-----------
[common] fix dlopen error handling
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: b67fbfdd4b29584a48130d50ffdae4f3bfba88ad
https://github.com/kronosnet/kronosnet/commit/b67fbfdd4b29584a48130d50ffdae…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/threads_rx.c
Log Message:
-----------
[rx] better error report if we can't resolve hostname / port
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c3af67df2a18309fef9b543ab6e20a8d091c01a9
https://github.com/kronosnet/kronosnet/commit/c3af67df2a18309fef9b543ab6e20…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/links_acl_ip.c
Log Message:
-----------
[acl] avoid forward null deferencing
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 5f7591ca6c8e9e3fa56a7d3dc07bfee00ecbe5f8
https://github.com/kronosnet/kronosnet/commit/5f7591ca6c8e9e3fa56a7d3dc07bf…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] cleanup bugs detected in error paths by coverity scan
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 6d06efc6cd0daeb9a39edd1144794c1609bee396
https://github.com/kronosnet/kronosnet/commit/6d06efc6cd0daeb9a39edd1144794…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] fix negative return detected by coverity scan
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 7ab467bfaed7169ad46cf006280186a7c281d9d8
https://github.com/kronosnet/kronosnet/commit/7ab467bfaed7169ad46cf00628018…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] don't leak memory on error
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 56f167b90ee2bf78653f2476ef52b53234a9ee82
https://github.com/kronosnet/kronosnet/commit/56f167b90ee2bf78653f2476ef52b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/compress_zstd.c
Log Message:
-----------
[compress] don't leak memory in case of errors during zstd init
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 77e32532552e80181fe7c9fc58fa9fbe322c5662
https://github.com/kronosnet/kronosnet/commit/77e32532552e80181fe7c9fc58fa9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/logging.c
Log Message:
-----------
[logging] make sure not to overrun buffers by pre-allocating them
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 10c992e885fbfd0368dde130b9e532a77d2cac16
https://github.com/kronosnet/kronosnet/commit/10c992e885fbfd0368dde130b9e53…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/compress.c
Log Message:
-----------
[compress] do not overrun allocated array for compress modules
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: b784ea4cb20d98b60aa5d0742376f0435c6770fd
https://github.com/kronosnet/kronosnet/commit/b784ea4cb20d98b60aa5d0742376f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M .gitignore
M Makefile.am
M build-aux/check.mk
M configure.ac
Log Message:
-----------
[coverity] add test targets to run coverity automatically
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 3d0f0068f03c5ec5581dc0725c9076e27ce00716
https://github.com/kronosnet/kronosnet/commit/3d0f0068f03c5ec5581dc0725c907…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/threads_pmtud.c
Log Message:
-----------
[PMTUd] do not double unlock global read lock
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: d20212a47111e80b0c16c1f7866e9e5047a8dd70
https://github.com/kronosnet/kronosnet/commit/d20212a47111e80b0c16c1f7866e9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] avoid tons of possible buffer overruns
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c9ffbd7b872ba316bf2e9f82d71d049b547b3f96
https://github.com/kronosnet/kronosnet/commit/c9ffbd7b872ba316bf2e9f82d71d0…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
[test] simplify flush log
allocate on stack only once and make sure strings are null terminated
drop useless read loop since log msg are always smaller than PAGE_SIZE
and read are atomic at that level
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 329f20e40c47df4a645f69496d5b6bc14eac03a4
https://github.com/kronosnet/kronosnet/commit/329f20e40c47df4a645f69496d5b6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/common.c
Log Message:
-----------
[common] make sure string is null terminated
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a340c08e9059cf2afda3ad74ab524dc1857717d7
https://github.com/kronosnet/kronosnet/commit/a340c08e9059cf2afda3ad74ab524…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/threads_tx.c
Log Message:
-----------
[tx] drop unnecessary usleep when sending to localhost
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 9d230289cc646d45429e550b78116939ff670628
https://github.com/kronosnet/kronosnet/commit/9d230289cc646d45429e550b78116…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libnozzle/tests/api_nozzle_get_name_by_handle.c
M libnozzle/tests/api_nozzle_set_mac.c
Log Message:
-----------
[nozzle] fix a few coverity errors in the test suite
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c8e2e6af4fb458afdaa8848295045fbabcc07bc0
https://github.com/kronosnet/kronosnet/commit/c8e2e6af4fb458afdaa8848295045…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/internals.h
M libknet/threads_tx.c
Log Message:
-----------
[tx] clean up channel management code for internal communications
the code is still not in use but it's more clear and doesn't trigger
memory overrun
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c3ec183e0541d2eb50322ff783c76654b4f70098
https://github.com/kronosnet/kronosnet/commit/c3ec183e0541d2eb50322ff783c76…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
[sctp] retry locking in case of failure
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare:
https://github.com/kronosnet/kronosnet/compare/4f9904c8ccb0...c3ec183e0541