diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-07-22 18:03:48 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-07-22 18:03:48 +0000 |
commit | de9374fcc9f27b42880bed0c3e257e255de04156 (patch) | |
tree | 4e9e8a35f995cb7dd79ab25ebc53a490dd63ab04 /drivers/dahdi/wctc4xxp/base.c | |
parent | a93faaef686be31ac3906a8deae426b5ec927c28 (diff) |
wcb4xxp: Prevent null pointer dereference on spanconfig
In the rare case where spanconfig is called while there is pending data
on the hdlc channel, the hdlc_getbuf interrupt could try to read from
the hdlc buffer before the channel was fully setup. This could
potentially result in a null pointer dereference. This condition has
existed since the creation of the wcb4xxp driver.
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10079
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.4@10080 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctc4xxp/base.c')
0 files changed, 0 insertions, 0 deletions