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

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


The following issue has been UPDATED. 
====================================================================== 
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:                    [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-28 23:15 andrew53       Summary                  Incorrect use of
sizeof() => [patch] Incorrect use of sizeof()
======================================================================




More information about the asterisk-bugs mailing list