summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-04-03 19:44:45 +0000
committerShaun Ruffell <sruffell@digium.com>2012-04-03 19:44:45 +0000
commit3fb4c43ebab23428e0d49087d4c703bf2cf99ae6 (patch)
tree94993aec540d4a81081fb8e5b56137f82a2adda0 /drivers/dahdi/dahdi-base.c
parent860cbd09f898414a3345840c8f87b47e091f9319 (diff)
dahdi_dynamic_loc: Change and check the dyn->pvt pointer under lock.
Fixes a crash on unload if the sync_tick callback was running at the same time the dynamic local span was destroyed. It was possible for dahdi_dynamic_local_transmit to dereference a pointer that may have already been freed. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10627 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
0 files changed, 0 insertions, 0 deletions