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
.
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 |