aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-06-21 21:55:57 -0600
committerTom Tromey <tom@tromey.com>2021-06-22 13:43:08 -0600
commit2fb749c5f438fdc77cbc7336b5a8def1fa8c1581 (patch)
treeeeb22db8d02f7aad5448d39986f3c81c251a6c21 /gcc/rust/rust-backend.h
parentf2d9faf3862a75247adbd6c233c889010902a34b (diff)
downloadgcc-2fb749c5f438fdc77cbc7336b5a8def1fa8c1581.zip
gcc-2fb749c5f438fdc77cbc7336b5a8def1fa8c1581.tar.gz
gcc-2fb749c5f438fdc77cbc7336b5a8def1fa8c1581.tar.bz2
Fix RAIIFile buglet
RAIIFile's implementation of operator= can leak a file, because it doesn't handle the case where the assignee holds an open file handle.
Diffstat (limited to 'gcc/rust/rust-backend.h')
0 files changed, 0 insertions, 0 deletions