summaryrefslogtreecommitdiff
path: root/include/dahdi/kernel.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-08-16 21:38:57 +0000
committerShaun Ruffell <sruffell@digium.com>2012-08-16 21:38:57 +0000
commit6d1833f02ff672a1c0e8a342b6cb5f58d5049aed (patch)
tree64133a7554356050e062cc0a42aaa3f32dc4fbf0 /include/dahdi/kernel.h
parentee9b357640eeda5fc175bfbe1369748332493c99 (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 'include/dahdi/kernel.h')
0 files changed, 0 insertions, 0 deletions