[Bugme-new] [Bug 13576] New: arch/ia64/sn/kernel/io_common.c:438: bad call to sprintf

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Thu Jun 18 13:52:29 PDT 2009


http://bugzilla.kernel.org/show_bug.cgi?id=13576

           Summary: arch/ia64/sn/kernel/io_common.c:438: bad call to
                    sprintf
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 2.6.30
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: IA-64
        AssignedTo: platform_ia-64 at kernel-bugs.osdl.org
        ReportedBy: dcb314 at hotmail.com
        Regression: No


The offending line of code is

                        sprintf(address, "%s^%d", address, geo_slot(geoid));

AFAIK, it is a bad idea to have the source and 
destination address the same. Suggest code rework.

-- 
Configure bugmail: http://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