CURLX_SET_BINMODE(NULL) can call fileno(NULL) and cause undefined behavior / crash
该报告还没有中文解读。
原文摘录
摘自原文(3226 字符中的一小部分)
Summary ------- Calling the `CURLX_SET_BINMODE(stream)` macro with `stream == NULL` leads to an unguarded call to `fileno(NULL)` in `tool_binmode.h`, which is undefined behavior and may crash the process. This is a robustness/UB issue and should be corrected by guarding against NULL streams before …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @sippysir · 版权归作者与 curl 所有