Calls to pinyin_get_candidate aren't being checked for validity, resulting in the possibility of NULL candidates being passed to future libpinyin functions, resulting in crashes (example crash attached).
Calls to pinyin_ get_candidate aren't being checked for validity, resulting in the possibility of NULL candidates being passed to future libpinyin functions, resulting in crashes (example crash attached).