Connector/ODBC: MADB_Stmt::ArrayOffset is not reset when an exception unwinds out of MADB_StmtExecute, so the next paramset reads out of bounds
该报告还没有中文解读。
原文摘录
摘自原文(6466 字符中的一小部分)
An aborted parameter-array execute leaves `MADB_Stmt::ArrayOffset` stale, and the next paramset operation on the same statement handle indexes the application's arrays from that offset. When a server-reported error interrupts a parameter array, `MADB_DoExecute` throws a C++ exception that unwinds …
原文中的代码
ret= MADB_DoExecute(Stmt);
++Stmt->ArrayOffset;默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 MariaDB 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @fg0x0 · 版权归作者与 MariaDB 所有