[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] Some Coverity fixes from GRUB

From: Darren Kenny
Subject: [PATCH 0/3] Some Coverity fixes from GRUB
Date: Fri, 18 Jun 2021 15:44:20 +0000

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.



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(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]