From 2d280ad8134264cfe26141858c691bc8ea7e7db1 Mon Sep 17 00:00:00 2001 From: Robert Ian Hawdon Date: Wed, 13 Mar 2019 16:17:53 +0000 Subject: [PATCH 1/2] Increased memory sizes of some char variables * Addresses buffer overflow mainly seen on macOS systems (#84) --- configure.ac | 2 +- docs/source/conf.py | 2 +- src/showfunctions.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 0db6c8d..376b3da 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([dfshow], [0.6.3], [https://github.com/roberthawdon/dfshow/issues]) +AC_INIT([dfshow], [0.6.4-dev], [https://github.com/roberthawdon/dfshow/issues]) AC_GNU_SOURCE AM_INIT_AUTOMAKE([subdir-objects]) AC_PROG_CC diff --git a/docs/source/conf.py b/docs/source/conf.py index 5a92cd6..ce6dca3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -26,7 +26,7 @@ # The short X.Y version version = '' # The full version, including alpha/beta/rc tags -release = '0.6.3-alpha' +release = '0.6.4-alpha' # -- General configuration --------------------------------------------------- diff --git a/src/showfunctions.c b/src/showfunctions.c index 6b3dda7..f799f0b 100644 --- a/src/showfunctions.c +++ b/src/showfunctions.c @@ -56,7 +56,7 @@ # define st_author st_uid #endif -char hlinkstr[5], sizestr[32], majorstr[5], minorstr[5]; +char hlinkstr[6], sizestr[32], majorstr[6], minorstr[6]; char headAttrs[12], headOG[25], headSize[14], headDT[18], headName[13]; int hlinklen; From 38bc4b865c0d6252df92baaaac2e0f9a496465a0 Mon Sep 17 00:00:00 2001 From: Robert Hawdon Date: Wed, 13 Mar 2019 22:49:57 +0000 Subject: [PATCH 2/2] Bump up to version 0.6.4 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 376b3da..dac5c6d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([dfshow], [0.6.4-dev], [https://github.com/roberthawdon/dfshow/issues]) +AC_INIT([dfshow], [0.6.4], [https://github.com/roberthawdon/dfshow/issues]) AC_GNU_SOURCE AM_INIT_AUTOMAKE([subdir-objects]) AC_PROG_CC