-
- Downloads
users may only send non-ddl native sql to h2 (#25220)
* users may only send non-ddl native sql to h2 * tests for diasllowing h2 ddl * improve error message on throw * fix linter + cleanup the-exploit example. * refix linter * handle garbage input by failing to classify it. If it h2 can't parse it, then that input cannot trigger a vulnerability. Our parser simply chews through erroneous sql, and classifies statements that it is able to parse. * When h2 is running in client-side mode, do not parse sql - SessionRemote indicates that we are currently client side * refactor so that building parser is easier * remove unused import SessionRemote * Revert "refactor so that building parser is easier" This reverts commit a41800131696de00d98e4eb7124d4d4b1b1cb33c. * check client-side conns => import SessionRemote * replace truncate function via inlining * fix drop arg order
Please register or sign in to comment