Add NULL pointer protection.
Add NULL pointer protection.

twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc