[PATCH 4.19 30/32] macintosh/adb: fix oob read in do_adb_query() function