[PATCH 4.9 024/101] macintosh/adb: fix oob read in do_adb_query() function