Skip to content

Commit

Permalink
Fix invalid read when seqOrder isn't set
Browse files Browse the repository at this point in the history
  • Loading branch information
julek-wolfssl committed Mar 22, 2021
1 parent cd1bcad commit c4e13c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion udp_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ int dupePackets = 0; /* duplicate all packets */
int retxPacket = 0; /* specific seq to retransmit */
int injectAlert = 0; /* inject an alert at end of epoch 0 */
const char* selectedSide = NULL; /* Forced side to use */
const char* seqOrder = NULL; /* how to reorder 0th epoch packets */
const char* seqOrder = ""; /* how to reorder 0th epoch packets */

typedef struct proxy_ctx {
SOCKET_T clientFd; /* from client to proxy, downstream */
Expand Down

0 comments on commit c4e13c0

Please sign in to comment.