[sr-dev] git:5.0:f07dabff: core: improve header safe guards for Via handling