You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/05/17 05:12:42 UTC
[trafficserver] branch quic-latest updated: Add nullptr check in
QUICPacketReceiveQueue::dequeue()
This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/quic-latest by this push:
new 7268ee4 Add nullptr check in QUICPacketReceiveQueue::dequeue()
7268ee4 is described below
commit 7268ee4916a7508f9ced4a81185ae1326ca79739
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Thu May 17 14:12:24 2018 +0900
Add nullptr check in QUICPacketReceiveQueue::dequeue()
---
iocore/net/quic/QUICPacketReceiveQueue.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/quic/QUICPacketReceiveQueue.cc b/iocore/net/quic/QUICPacketReceiveQueue.cc
index ded0453..c6292c4 100644
--- a/iocore/net/quic/QUICPacketReceiveQueue.cc
+++ b/iocore/net/quic/QUICPacketReceiveQueue.cc
@@ -62,7 +62,7 @@ QUICPacketReceiveQueue::dequeue(QUICPacketCreationResult &result)
}
}
- if (quic_packet->packet_number() > this->_largest_received_packet_number) {
+ if (quic_packet && quic_packet->packet_number() > this->_largest_received_packet_number) {
this->_largest_received_packet_number = quic_packet->packet_number();
}
--
To stop receiving notification emails like this one, please contact
masaori@apache.org.