Skip to content

In-depth lesson · Memory corruption

Reports behind this point

Call the PostgreSQL string escaping function with input near the maximum 32-bit length so the doubled allocation wraps, then look for a heap overflow.