[asterisk-bugs] [LibPRI 0018769]: [patch] Swap of master/slave in pri_enslave incorrect

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 8 10:44:39 CST 2011


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18769 
====================================================================== 
Reported By:                jcollie
Assigned To:                rmudgett
====================================================================== 
Project:                    LibPRI
Issue ID:                   18769
Category:                   General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.8.3-rc2 
JIRA:                        
libpri Version:             1.4.12-beta3 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2011-02-08 10:28 CST
Last Modified:              2011-02-08 10:44 CST
====================================================================== 
Summary:                    [patch] Swap of master/slave in pri_enslave
incorrect
Description: 
Swap of master and slave is incorrectly coded in pri_enslave.  Instead of
swapping both variables will end up pointing to the slave.
====================================================================== 

---------------------------------------------------------------------- 
 (0131674) svnbot (reporter) - 2011-02-08 10:44
 https://issues.asterisk.org/view.php?id=18769#c131674 
---------------------------------------------------------------------- 
Repository: libpri
Revision: 2192

U   branches/1.4/pri.c

------------------------------------------------------------------------
r2192 | rmudgett | 2011-02-08 10:44:38 -0600 (Tue, 08 Feb 2011) | 9 lines

Swap of master/slave in pri_enslave() incorrect.

Thank you.  All I can say is oops.

(closes issue https://issues.asterisk.org/view.php?id=18769)
Reported by: jcollie
Patches:
      libpri-1.4.12-beta3-swap.patch uploaded by jcollie (license 412)

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

http://svn.digium.com/view/libpri?view=rev&revision=2192 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-08 10:44 svnbot         Note Added: 0131674                          
2011-02-08 10:44 svnbot         Status                   new => assigned     
2011-02-08 10:44 svnbot         Assigned To               => rmudgett        
======================================================================




More information about the asterisk-bugs mailing list