Hello, i detected an overlapping data buffer at file "linux-2.6.29.3/drivers/staging/rt2870/sta/wpa.c" For detection, i used the static code analysis tool cppcheck. It prints the following message: [linux-2.6.29.3/drivers/staging/rt2870/sta/wpa.c:1967]: (error) Overlapping data buffer custom Take a loop at file wpa.c at line 1967: sprintf(custom, "%s unicast", custom); Here, var "custom" is used by iteself, this is dangerous!!!! Best regards Ettl Martin
Fixed, thanks The staging code is pending clean up before proper integration so I don't doubt there are plenty of these.