diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-11-10 15:46:02 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-11-10 19:21:55 +0000 |
commit | ced70ebaa372945ec8d73703d81e4a10d6d51c9b (patch) | |
tree | 3f584d11eb7896258a16c0edc46351b38d7fcc4c /gcc/cp/parser.c | |
parent | 8b9a92f794b8ad8011e6beb11a609efa635c4600 (diff) | |
download | gcc-ced70ebaa372945ec8d73703d81e4a10d6d51c9b.zip gcc-ced70ebaa372945ec8d73703d81e4a10d6d51c9b.tar.gz gcc-ced70ebaa372945ec8d73703d81e4a10d6d51c9b.tar.bz2 |
libstdc++: Fix more unspecified comparisons to null pointer [PR 97415]
This adds some more null checks to avoid a relational comparison with a
null pointer, similar to 78198b6021a9695054dab039340202170b88423c.
libstdc++-v3/ChangeLog:
PR libstdc++/97415
* include/std/sstream (basic_stringbuf::_M_update_egptr)
(basic_stringbuf::__xfer_bufptrs::__xfer_bufptrs): Check for
null before comparing pointers.
Diffstat (limited to 'gcc/cp/parser.c')
0 files changed, 0 insertions, 0 deletions