[sr-dev] git:4.2:a8977842: pua: safety checks for str pointers