From ca0dc6b3480dbc5d9a91fe9fa4beb2685a6797bc Mon Sep 17 00:00:00 2001 From: "Vanya A. Sergeev" Date: Fri, 7 Apr 2017 00:29:01 -0700 Subject: [PATCH] fpga_common: fix overrun in 16x64 NIOS II packet packing --- fpga_common/include/nios_pkt_16x64.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fpga_common/include/nios_pkt_16x64.h b/fpga_common/include/nios_pkt_16x64.h index 254cb2f7..4a69dce6 100644 --- a/fpga_common/include/nios_pkt_16x64.h +++ b/fpga_common/include/nios_pkt_16x64.h @@ -141,7 +141,6 @@ static inline void nios_pkt_16x64_pack(uint8_t *buf, uint8_t target, bool write, buf[NIOS_PKT_16x64_IDX_RESV2 + 0] = 0x00; buf[NIOS_PKT_16x64_IDX_RESV2 + 1] = 0x00; - buf[NIOS_PKT_16x64_IDX_RESV2 + 2] = 0x00; } /* Unpack the request buffer */