aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-09-19 14:38:48 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-09-19 13:16:16 +0000
commit522576d07f042bc048fcc2f64ab91014d6f88f47 (patch)
tree4edac3fdd855c64e0bca84f4bd31849902652495 /gcc/tree.h
parent67bc0f69b46b2e4c335017aba3bc1218574aad7a (diff)
downloadgcc-522576d07f042bc048fcc2f64ab91014d6f88f47.zip
gcc-522576d07f042bc048fcc2f64ab91014d6f88f47.tar.gz
gcc-522576d07f042bc048fcc2f64ab91014d6f88f47.tar.bz2
Check if the type has been correctly resolved
We did not check the optional was valid, this lead to rogue dereference and undefined behaviors. gcc/rust/ChangeLog: * resolve/rust-late-name-resolver-2.0.cc (Late::visit): Add optional check. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions