[asterisk-bugs] [DAHDI-linux 0015877]: [patch] FreeBSD port

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 17 12:32:00 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15877 
====================================================================== 
Reported By:                Max Khon
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15877
Category:                   dahdi (the module)
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     acknowledged
====================================================================== 
Date Submitted:             2009-09-10 16:53 CDT
Last Modified:              2009-09-17 12:32 CDT
====================================================================== 
Summary:                    [patch] FreeBSD port
Description: 
zaptel-bsd was maintained in a separate SVN repository and syncing with
main zaptel tree always was a pain.

I would like to submit dahdi FreeBSD port back to Digium for inclusion
into main SVN tree, if possible.
====================================================================== 

---------------------------------------------------------------------- 
 (0110881) vadim (reporter) - 2009-09-17 12:32
 https://issues.asterisk.org/view.php?id=15877#c110881 
---------------------------------------------------------------------- 
But pointer to WHAT?  

Suppose the data contains value 0x8000FFF0
It means the somewhere in user space at address 0x8000FFF0 resides some
data which need to be copied into the kernel address space.

Your call to copy_from_user will copy only 4 bytes  from user space to
kernel space.   Is this what you want?  If so it is ok for now.

If later DAHDI_LOADZONE will require more than 4 bytes of data your code
will break. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-17 12:32 vadim          Note Added: 0110881                          
======================================================================




More information about the asterisk-bugs mailing list