Bug 13576 - (Patch queued) arch/ia64/sn/kernel/io_common.c:438: bad call to sprintf
Summary: (Patch queued) arch/ia64/sn/kernel/io_common.c:438: bad call to sprintf
Status: CLOSED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: IA-64 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Alan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 20:52 UTC by David Binderman
Modified: 2009-07-08 14:35 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.30
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description David Binderman 2009-06-18 20:52:29 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.