[BusyBox 0001067]: bug in editors/awk.c

bugs at busybox.net bugs at busybox.net
Sat Oct 7 14:27:39 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1067 
====================================================================== 
Reported By:                nazarijo
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1067
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-07-2006 07:27 PDT
Last Modified:              10-07-2006 07:27 PDT
====================================================================== 
Summary:                    bug in editors/awk.c
Description: 

typo, logical vs bitwise AND

--- editors/awk.c.orig  Sat Oct  7 10:03:41 2006
+++ editors/awk.c       Sat Oct  7 10:03:59 2006
@@ -1356,7 +1356,7 @@
        re = &spl->re[0];
        ire = &spl->re[1];
        n = &spl->n;
-       if ((n->info && OPCLSMASK) == OC_REGEXP) {
+       if ((n->info & OPCLSMASK) == OC_REGEXP) {
                regfree(re);
                regfree(ire);
        }

from the latest snapshop tar.bz2
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-07-06 07:27  nazarijo       New Issue                                    
10-07-06 07:27  nazarijo       Status                   new => assigned     
10-07-06 07:27  nazarijo       Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list