Bug 12964 - found overlapping data buffer address
Summary: found overlapping data buffer address
Status: CLOSED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: io_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 23:47 UTC by Martin Ettl
Modified: 2012-05-30 15:03 UTC (History)
1 user (show)

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


Attachments

Description Martin Ettl 2009-03-28 23:47:21 UTC
Hi,

i found a possible error in the souce code in file linux-2.6.29/arch/ia64/sn/kernel/io_common.c at line 443 


look at line 443:
sprintf(address, "%s^%d", address, geo_slot(geoid));

I found this by using a static code analysis tool (cppcheck)

report generated by cppcheck:

[linux-2.6.29/arch/ia64/sn/kernel/io_common.c:443]: (error) Overlapping data buffer address

Best regards

Ettl Martin

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