[sr-dev] git:5.1:d67b2f98: core: improve header safe guards for Via handling