dns: remove unused events field from state

found overflowing by oss-fuzz
pull/7511/head
Philippe Antoine 4 years ago committed by Victor Julien
parent df2e408d96
commit 26dc70648c

@ -323,8 +323,6 @@ pub struct DNSState {
// Transactions.
pub transactions: VecDeque<DNSTransaction>,
pub events: u16,
config: Option<ConfigTracker>,
gap: bool,
@ -395,7 +393,6 @@ impl DNSState {
let tx = &mut self.transactions[len - 1];
tx.tx_data.set_event(event as u8);
self.events += 1;
}
fn parse_request(&mut self, input: &[u8]) -> bool {

Loading…
Cancel
Save