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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 29 00:12:53 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13795 
====================================================================== 
Reported By:                andrew53
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   13795
Category:                   Channels/chan_sip/General
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-10-28 23:15 CDT
Last Modified:              2008-10-29 00:12 CDT
====================================================================== 
Summary:                    [patch] 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-29 00:12 svnbot         Status                   new => assigned     
2008-10-29 00:12 svnbot         Assigned To               => russell         
2008-10-29 00:12 svnbot         Status                   assigned => resolved
2008-10-29 00:12 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list