Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix debug assertion on packet length in blr_master.c
A debug assertion failed due to a NULL buffer but a non-zero packet
length. This was caused by a missing reset of the packet length after
freeing the buffers.
  • Loading branch information
markus456 committed Nov 4, 2016
1 parent 8f6c1bd commit 87e94f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/modules/routing/binlog/blr_master.c
Expand Up @@ -1068,6 +1068,7 @@ blr_handle_binlog_record(ROUTER_INSTANCE *router, GWBUF *pkt)

gwbuf_free(pkt);
pkt = NULL;
pkt_length = 0;

break;
}
Expand Down

0 comments on commit 87e94f6

Please sign in to comment.