about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-04-02 14:28:03 +0200
committerGitHub <noreply@github.com>2020-04-02 14:28:03 +0200
commitec0da7222d04862de8c822e106522ef448d85b6d (patch)
tree74b275beb0c7580977630c49f8243d344132fe00 /src/test/codegen/src-hash-algorithm
parentc10f214ddcc5acea281b05b9f6f43543c91024f9 (diff)
parentf543689eb65aeacb6ec85c07f0c82800174d21c1 (diff)
downloadrust-ec0da7222d04862de8c822e106522ef448d85b6d.tar.gz
rust-ec0da7222d04862de8c822e106522ef448d85b6d.zip
Rollup merge of #70681 - rcoh:russell/70677-raw-str-panic, r=petrochenkov
Handle unterminated raw strings with no #s properly

The modified code to handle parsing raw strings didn't properly account for the case where there was no "#" on either end and erroneously reported this strings as complete. This lead to a panic trying to read off the end of the file.

Fixes #70677

r? @petrochenkov

cc @Centril
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions