diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-01 23:53:26 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-01 23:53:26 +0200 |
commit | 95df5c0179f6b24d31c6720a43434755ed58aa22 (patch) | |
tree | 854798ee7eca47859adcdc0865af68bad708f6cc /src | |
parent | 35a939463eee58492c88cbe7531288237cdcf454 (diff) |
msgb: initialize cb[] to zero during msgb_reset()
Diffstat (limited to 'src')
-rw-r--r-- | src/msgb.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,4 +85,6 @@ void msgb_reset(struct msgb *msg) msg->l2h = NULL; msg->l3h = NULL; msg->l4h = NULL; + + memset(&msg->cb, 0, sizeof(msg->cb)); } |