[sr-dev] git:5.1:f21f3e63: core: fix possible int overflow (conversion after multiplication) in cfg code