commit | 0ee90f861458a68be7d7ac6e7f253c2be03ae049 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sun Jul 03 20:45:21 2016 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sun Jul 03 20:47:06 2016 +0200 |
tree | c64eaf3951f6f858c9c5f131b276f2ca0d0c9060 | |
parent | dda9dffca9bda905bc33d5995923277e861a80c2 [diff] |
lapd_dl_flush_hist(): Don't flush a non-existant history If lapd_dl_flush_hist() is called after lapd_dl_exit(), dl->tx_hist has already been free'd and set to NULL. Check for this before attempting to de-reference a NULL pointer. This bug breaks OpenBSC with any E1 based BTSs using DAHDI. Change-Id: I117ba3445fa5e8097e21c11c5a6337de6ba46c7d Related: OS#1760