Fix heap buffer overead in ConfigParser::UnQuote()#1763
Fix heap buffer overead in ConfigParser::UnQuote()#1763xiaoxiaoafeifei wants to merge 1 commit intosquid-cache:masterfrom
Conversation
|
Can one of the admins verify this patch? |
rousskov
left a comment
There was a problem hiding this comment.
Thank you for working on this bug!
There was a problem hiding this comment.
Thank you for adjusting this fix! I trust your refactoring still addresses the problem you could reproduce.
I have adjusted PR title and description (i.e. future official commit message) to meet Squid Project formatting requirements. In the future, please post all those (very useful!) testing details as a PR comment while keeping PR description as the commit message body (which we can then edit to add any details as needed, of course). Thank you.
Our CI formatting tests fail because your name is not in CONTRIBUTORS file. Please add your contact info to that file in this PR. The tools detect two variations of your credentials based on info provided by git/GitHib. Use the variation you prefer.
|
Reproduce: Evidence: 0x60b000000baf is located 0 bytes after 111-byte region [0x60b000000b40,0x60b000000baf) SUMMARY: AddressSanitizer: heap-buffer-overflow /root/fuzz/fuzz_squid/squid/src/ConfigParser.cc:184:9 in ConfigParser::UnQuote(char const*, char const**) |
Thanks for you reply! @rousskov |
|
OK to test |
Detected by using AddressSanitizer.
Detected by using AddressSanitizer.
Detected by using AddressSanitizer.
Detected by using AddressSanitizer.
Detected by using AddressSanitizer.