[Home]

Summary:ASTERISK-02420: [patch] strncpy with wrong sizeof in config parsing
Reporter:thansen (thansen)Labels:
Date Opened:2004-09-16 04:20:21Date Closed:2008-01-15 15:07:37.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-cxnet-sizeofmd5secret-sip.diff
Description:md5secret config value is copied to md5secret string, with a sizeof(user->secret). Should have been user->md5secret. Luckily secret and md5secret are both defined as 80 chars.
Comments:By: Brian West (bkw918) 2004-09-16 08:09:21

please append .txt on all future paches please :)

By: Mark Spencer (markster) 2004-09-16 08:51:45

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:07:37.000-0600

Repository: asterisk
Revision: 3791

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r3791 | markster | 2008-01-15 15:07:37 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix tiny typo (bug ASTERISK-2420)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3791