OpenBSD erratum 020:
2016-07-14

Unchecked parameters and integer overflows in the amap allocation routines could cause malloc(9) to either not allocate enough memory, leading to memory corruption, or to trigger a "malloc: allocation too large" panic.

binpatch59-(amd64)-kernel-13.0.tgz