Resource leak when using a normal site as DOH server
该报告还没有中文解读。
原文摘录
摘自原文(2860 字符中的一小部分)
Summary: If a DOH server is used, which is not really a DOH server but just a normal web server, the DNS request is sent but the reply will not be the expected DNS payload. In that case, curl correctly thinks DNS resolution failed, but it does not clean up allocated memory properly.
原文中的代码
valgrind ./a.out notadoh (snip) ==3096== HEAP SUMMARY: ==3096== in use at exit: 98,252 bytes in 1,043 blocks ==3096== total heap usage: 101,296 allocs, 100,253 frees, 9,473,596 bytes allocated ==3096== ==3096== LEAK SUMMARY: ==3096== definitely lost: 8,564 bytes in 3 blocks ==3096== …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @pauldreik · 版权归作者与 curl 所有