From 79c7de2f0bc75f2e78880894498b54542d914a4d Mon Sep 17 00:00:00 2001 From: Mingwei Zhang Date: Thu, 4 Apr 2019 11:28:07 -0700 Subject: [PATCH 1/2] fix for MRT records larger than 64k This fix is introduced to ripencc's bgpdump library at https://bitbucket.org/ripencc/bgpdump/commits/07730264ed37e96de94dd9ac2c4a5c0a1dd7062f This fix should fix the issue #79 --- lib/bgpdump/bgpdump_mstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bgpdump/bgpdump_mstream.h b/lib/bgpdump/bgpdump_mstream.h index 8921c1d..39ed9e0 100644 --- a/lib/bgpdump/bgpdump_mstream.h +++ b/lib/bgpdump/bgpdump_mstream.h @@ -33,7 +33,7 @@ Original Author: Dan Ardelean (dan@ripe.net) typedef struct mstream { u_char *start; - u_int16_t position; + u_int32_t position; u_int32_t len; } mstream_t; From 57465e113c1fef92a09cfad4b4bee247aaee0e3e Mon Sep 17 00:00:00 2001 From: Mingwei Zhang Date: Thu, 4 Apr 2019 11:34:07 -0700 Subject: [PATCH 2/2] prepare release for v1.2.3 --- ChangeLog.md | 7 +++++++ configure.ac | 4 ++-- pybgpstream/setup.py | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 15d119c..d4491d7 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,13 @@ BGPStream Change Log ==================== +v1.2.3 +------ + - Released 2019-04-04 + +### Bug Fixes + - Fixed an issue where BGPStream would crash when parsing MRT records that are larger than 64k (#79) + v1.2.2 ------ - Released 2019-02-13 diff --git a/configure.ac b/configure.ac index 2c49cb6..f5894a0 100644 --- a/configure.ac +++ b/configure.ac @@ -23,11 +23,11 @@ AC_PREREQ([2.68]) -AC_INIT([bgpstream], [1.2.2], [bgpstream-info@caida.org]) +AC_INIT([bgpstream], [1.2.3], [bgpstream-info@caida.org]) BGPSTREAM_MAJOR_VERSION=1 BGPSTREAM_MID_VERSION=2 -BGPSTREAM_MINOR_VERSION=2 +BGPSTREAM_MINOR_VERSION=3 LIBBGPSTREAM_MAJOR_VERSION=2 LIBBGPSTREAM_MID_VERSION=0 diff --git a/pybgpstream/setup.py b/pybgpstream/setup.py index 60fd5d4..36d6a50 100644 --- a/pybgpstream/setup.py +++ b/pybgpstream/setup.py @@ -10,7 +10,7 @@ setup(name = "pybgpstream", description = "A Python interface to BGPStream", long_description = "Provides a high-level interface for live and historical BGP data analysis. PyBGPStream requires the libBGPStream C library, available at http://bgpstream.caida.org/download.", - version = "1.2.2", + version = "1.2.3", author = "Alistair King", author_email = "bgpstream-info@caida.org", url="http://bgpstream.caida.org",