[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Clang's static analyzer on bash
From: |
Eduardo Bustamante |
Subject: |
Re: Using Clang's static analyzer on bash |
Date: |
Wed, 26 Apr 2017 10:12:14 -0500 |
On Wed, Apr 26, 2017 at 10:10 AM, Eduardo Bustamante <dualbus@gmail.com> wrote:
[...]
> #1 optimized_assignment in variables.c does not check if xrealloc was
> successful (i.e. not NULL), so if it fails, strcpy will end up
> dereferencing a null pointer.
I just noticed that xrealloc will exit on failure, so this is not
really an issue.