the return value of ndr_pull_set_switch_value() should be checked