Detect invalid escape sequence at the end of basic multiline string

This issue has been created since 2021-11-04.

Given blahblah="""abc\ """, this package (e0af6a2) doesn't return an error for an invalid escape sequence at the end of the string. However, adding any character after the space (ie. blahblah="""abc\ #""") does trigger the invalid escape sequence detection.

Reproduce with https://play.golang.org/p/X6k3qaWCxoP

toml.Unmarshal([]byte("blahblah=\"\"\"abc\\ \"\"\""), &v)

Found while doing differential fuzzing against github.com/pelletier/go-toml/v2.

More Details About Repo
Owner Name BurntSushi
Repo Name toml
Full Name BurntSushi/toml
Language Go
Created Date 2013-02-26
Updated Date 2023-03-20
Star Count 4154
Watcher Count 84
Fork Count 518
Issue Count 15

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
heroku数据库1万行的限制有办法绕过吗? 3 2022-04-11 2023-03-12
在设置了OneDrive的分流的时候发现无法使用程序的文件夹加密的功能,是什么原因? 3 2022-04-20 2023-03-12
求教用Cloudflare反代下载地址该如何设置? 4 2022-04-19 2023-03-12
Call for YOLOv5_x pretrained model 0 2022-09-28 2023-02-10
Whats the speed of other YOLOs you tested on NVIDIA 3090, and how about the speed of RTMDet on T4 / V100 ? 1 2022-09-27 2023-02-11
Futu API not listing Universal Account 0 2023-01-04 2023-02-06
[BUG] `into_coord_trans()` not supported for chrono::DateTime 9 2022-09-26 2023-03-12
AttributeError: 'Thread' object has no attribute 'isAlive' 3 2021-06-12 2023-02-13
🐛 [firebase_auth] user.metdata.creationTime wrong milliseconds 1 2022-07-20 2023-02-15
Cannot resolve dependency with [email protected] 3 2021-07-28 2023-03-16
LLse bl.destroy(drop)增加更多返回信息 0 2022-12-20 2023-01-30
error while compiling scss files - BundleValidator 5 2022-03-15 2022-12-31
DualSense is not recognized (Or add DualSense support) 0 2022-05-15 2023-02-20
tempering is ignored when combined with an attack 1 2022-10-08 2023-02-14
validation not worked on single select 8 2020-10-02 2023-02-24
options(ChIPseeker.downstreamDistance = 500) seems not work 1 2020-02-18 2023-02-27
Potential Bug in LearnerCV for 0/1 labels 0 2022-06-22 2023-02-24
Allow for constructing `GraphLearner` in a trained state 2 2022-06-16 2023-02-14
SqlPermission: Using the property `Reasons` with type `[Reason]` fails if two modules have type `[Reason]` 2 2023-01-05 2023-02-10
SqlAudit: Using the property `Reasons` with type `[Reason]` fails if two modules have type `[Reason]` 2 2023-01-05 2023-02-10
SqlDatabasePermission: Using the property `Reasons` with type `[Reason]` fails if two modules have type `[Reason]` 2 2023-01-05 2023-02-10
Do not automatically update on systems where UAC is disabled 1 2021-12-15 2023-03-03
登录失败时出现了LateInitializationError 2 2022-11-06 2023-03-09
Extending the event scheduling workflow 1 2022-11-25 2023-01-15
Specify Avro encoding approach 17 2020-12-18 2023-03-03
控制EpollWait的msec优势在哪? 0 2022-10-30 2023-03-02
Request textDocument/hover failed. Message: Unhandled method textDocument/hover Code: -32601 0 2022-01-09 2023-03-05
Extras object sometimes briefly empty after config update on iOS 9 2022-09-09 2023-01-06
Update copy in welcome sidebar 2 2022-02-02 2023-03-10
Failed to send entity to Daemon with Streaming_Threshold=0 3 2022-02-08 2023-03-13
TCP Timeout With Search Engine 1 2021-05-30 2023-03-23
GC preserve failure, allowing stack aliasing (1.6 LTS) 1 2022-08-27 2023-01-29
windows 10 sku out of support 1 2022-10-17 2023-03-16
Feature Request: Add float16 and bfloat16 support 0 2023-02-07 2023-03-09
[工具推荐]正则表达式测试和可视化工具 0 2022-05-13 2023-03-05
Changing volume level of microphone source 0 2021-05-21 2023-02-25
Enable optional Parallel runs 1 2021-04-27 2023-02-07
Secrets disappears after closing app 3 2021-09-13 2023-03-03
Add Square layout test for deserializing block from HTML 1 2021-11-04 2023-03-17
Invalid URI (missing protocol) 7 2018-09-26 2023-02-12
Display types in function signatures 2 2022-02-03 2023-02-19
All'interno dei luoghi H errati 0 2023-01-30 2023-02-15
There's no way to filter out countries 8 2021-06-19 2023-03-19
FEEDS API ( Override ) Processing report is successful, but no changes. 1 2021-09-22 2023-02-19
Is there any way to expand Scatter to fit its parent width? 0 2021-05-25 2023-03-12
Wrong import statement in notebook execution Python API 6 2021-09-16 2023-01-16
Organize extension settings by subheading 1 2021-10-06 2023-02-16
error: could not find function "upset_set_size" 2 2021-08-03 2022-11-14
Prometheus should print appropriate error if `threshold` is not specifed 0 2022-03-22 2023-02-19
module metadata: Decode module calls (for uninitialized modules) 1 2022-04-21 2023-02-26