[Bugme-new] [Bug 33732] New: Small strlen

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Apr 19 13:27:39 PDT 2011


https://bugzilla.kernel.org/show_bug.cgi?id=33732

           Summary: Small strlen
           Product: ACPI
           Version: 2.5
    Kernel Version: 2.6.39-rc4
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ACPICA-Core
        AssignedTo: acpi_acpica-core at kernel-bugs.osdl.org
        ReportedBy: pavel at pavlinux.ru
        Regression: No


Created an attachment (id=54732)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=54732)
Strlen fix

The word "enable" contains six characters, (strlen ("enable") -1), equal to
five.
The word "disable" has seven characters, (strlen ("disable")-1), equal to six.

Perhaps the author confused with sizeof?!

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list