SOS/buffer overrun workaround