Integer overflow in the source code tool_cb_prg.c
该报告还没有中文解读。
原文摘录
摘自原文(1934 字符中的一小部分)
Summary: Integer overflow in the source code tool_cb_prg.c
原文中的代码
69 static void fly(struct ProgressData *bar, bool moved)
70 {
71 char buf[256];
72 int pos;
73 int check = bar->width - 2;
74
75 msnprintf(buf, sizeof(buf), "%*s\r", bar->width-1, " ");
76 memcpy(&buf[bar->bar], "-=O=-", 5);
77
78 pos = sinus[bar->tick%200] / (10000 / check);
79 …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @sfpskywood · 版权归作者与 curl 所有