Bugfix: forgot to redefine EVENT_HDR when resizing buffer in StorageHandler::GenerateEventBuffer