[sr-dev] git:master:6c8d6185: imc: safety checks for function parameters