pp_header(): work around possible memory corruption