diff options
author | Shaun Ruffell <sruffell@digium.com> | 2012-08-16 21:38:57 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2012-08-16 21:38:57 +0000 |
commit | 6d1833f02ff672a1c0e8a342b6cb5f58d5049aed (patch) | |
tree | 64133a7554356050e062cc0a42aaa3f32dc4fbf0 /drivers/dahdi/xpp/xpp_dahdi.c | |
parent | ee9b357640eeda5fc175bfbe1369748332493c99 (diff) |
wcte12xp: Fix stack corruption when checking T1 RBS states.
This fixes an (embarrassing) error in t1_check_sigbits in the previous commit
where I was writing pass the end of an array on the stack.
Now instead of using an array on the stack, of which all elements were not used,
the pending commands are now stored on a list. I also removed the automatic free
of commands from __t1_getresults and now the function that allocated the command
now frees them.
I believe this will be less error-prone going forward.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10700
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.6@10707 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.c')
0 files changed, 0 insertions, 0 deletions