Skip to content
Snippets Groups Projects
Commit 292327c2 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski
Browse files

endpoint/ep_rx_bypass_queue: fixed OOB leak when emptying the queue

parent a71e6fd9
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@
-- Author : Tomasz Włostowski
-- Company : CERN BE-CO-HT
-- Created : 2011-08-10
-- Last update: 2011-10-25
-- Last update: 2011-10-29
-- Platform : FPGA-generic
-- Standard : VHDL'93
-------------------------------------------------------------------------------
......@@ -147,7 +147,7 @@ begin -- behavioral
end if;
end process;
dreq_o <= dreq_i and not flushing;
dreq_o <= dreq_i and not (flush_i or flushing);
valid_int <= (qfull and valid_i) or (not qempty and flushing and valid_mask);
valid_o <= valid_int;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment