diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2019-08-08 16:53:48 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2019-09-24 14:06:32 +0100 |
commit | 09dd90b0230aae35acdb505f4cdcd577d200d32c (patch) | |
tree | d26fa9ab90e2031a3069b2f489125467d2785840 /libctf/ctf-open.c | |
parent | dde074f887ff9f45dec8155aefcba7054c98f5b6 (diff) | |
download | binutils-09dd90b0230aae35acdb505f4cdcd577d200d32c.zip binutils-09dd90b0230aae35acdb505f4cdcd577d200d32c.tar.gz binutils-09dd90b0230aae35acdb505f4cdcd577d200d32c.tar.bz2 |
libctf: allow ctf_type_lname of a null pointer.
The code was meant to handle this, but accidentally dereferenced the
null pointer before checking it for nullity.
libctf/
* ctf-types.c (ctf_type_name): Don't strlen a potentially-
null pointer.
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions