[PATCH 3.18 006/121] qlge: Avoid reading past end of buffer