[flashrom] [PATCH 2/2] serprog: fix bad serbuf and opbuf usage checks