diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-06-02 20:49:14 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-07-22 17:57:32 +0100 |
commit | 96e3ec29664810995d6d7d3b6fd6ae2d19c532bd (patch) | |
tree | 6b13dd4277d8647d015f6e17b681145d9f9b2550 /libctf/ctf-subr.c | |
parent | 502e838ed9657ee74cdb4f53798e1468004c9524 (diff) | |
download | gdb-96e3ec29664810995d6d7d3b6fd6ae2d19c532bd.zip gdb-96e3ec29664810995d6d7d3b6fd6ae2d19c532bd.tar.gz gdb-96e3ec29664810995d6d7d3b6fd6ae2d19c532bd.tar.bz2 |
libctf, types: ints, floats and typedefs with no name are invalid
Report them as such, rather than letting ctf_decl_sprintf wrongly
conclude that the printing of zero characters means we are out of
memory.
libctf/
* ctf-types.c (ctf_type_aname): Return ECTF_CORRUPT if
ints, floats or typedefs have no name. Fix comment typo.
Diffstat (limited to 'libctf/ctf-subr.c')
0 files changed, 0 insertions, 0 deletions