pj_open_lib_ex() references `*name` without checking that `name` is not null. It also attempts to read `name[1]` without checking that it's accessible.