[asterisk-bugs] [Asterisk 0013795]: Incorrect use of sizeof()

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 28 23:15:12 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13795 
====================================================================== 
Reported By:                andrew53
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13795
Category:                   Channels/chan_sip/General
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 152213 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-28 23:15 CDT
Last Modified:              2008-10-28 23:15 CDT
====================================================================== 
Summary:                    Incorrect use of sizeof()
Description: 
In process_sdp memcpy is called with sizeof(&sin.sin_addr): sizeof pointer
that is, rather than sin_addr. Luckily, there's nothing important after it
in the sockaddr_in structure.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-28 23:15 andrew53       Asterisk Version          => SVN             
2008-10-28 23:15 andrew53       SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2008-10-28 23:15 andrew53       SVN Revision (number only!) => 152213          
======================================================================




More information about the asterisk-bugs mailing list