[PATCH 4.14 170/204] staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()