[asterisk-bugs] [Zaptel 0013275]: Missing error checks on down_interruptible()

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 9 09:39:16 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13275 
====================================================================== 
Reported By:                smurfix
Assigned To:                russell
====================================================================== 
Project:                    Zaptel
Issue ID:                   13275
Category:                   zaptel (the module)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Zaptel Version:             1.4.11 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-08-10 22:54 CDT
Last Modified:              2008-12-09 09:39 CST
====================================================================== 
Summary:                    Missing error checks on down_interruptible()
Description: 
There are two calls of down_interruptible() in the zaptel driver which
aren't checked for errors.

Corrupting kernel data structures when you press ^C at the wrong time is
generally viewed as a bad idea, so ...
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013278 [patch] Remove compilation warnings
====================================================================== 

---------------------------------------------------------------------- 
 (0096007) russell (administrator) - 2008-12-09 09:39
 http://bugs.digium.com/view.php?id=13275#c96007 
---------------------------------------------------------------------- 
This appears to be no longer an issue.  The latest code (DAHDI) checks the
return value of every call to down_interruptible(). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-09 09:39 russell        Note Added: 0096007                          
2008-12-09 09:39 russell        Status                   acknowledged =>
resolved
2008-12-09 09:39 russell        Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list