During the recent GRUB releases, I took a look at some Coverity issues that were found in the gnulib sources that GRUB is using as part of its build.
A couple of these issues still exist in the current gnulib master branch so I've put the fixes for these together to in this patchset. I did a build using the command: ./gnulib-tool \ --with-tests \ --dir=/tmp/gnulib-test \ --test argp base64 error fnmatch getdelim \ getline gettext-h gitlog-to-changelog \ mbswidth progname realloc-gnu \ regex save-cwd which is fairly close to the list of modules that GRUB is using and there were not test failures. Thanks, Darren. Darren Kenny (3): lib/regexec: Fix possible null-dereference lib/argp-help: Fix possible dereference of a NULL state lib/regexec: Resolve unused variable lib/argp-help.c | 3 ++- lib/regexec.c | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) -- 2.18.4