SRP: add additonal safety detection of zero length parameters