Bug 12964

Summary: found overlapping data buffer address
Product: IO/Storage Reporter: Martin Ettl (ettl.martin)
Component: OtherAssignee: io_other
Status: CLOSED CODE_FIX    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.29 Subsystem:
Regression: No Bisected commit-id:

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