edac-utils icon indicating copy to clipboard operation
edac-utils copied to clipboard

#2 edac-util.c:326: possible bad if test ?

Open grondo opened this issue 10 years ago • 0 comments

Moved from sf.net, user dcb:

Source code is if (mci.mc_name[0] != '\0' || mci.mc_name[0] != '\n') { Suggest swap || for &&. This bug found by compiling the package with gcc flag -Wlogical-op

grondo avatar Jan 07 '15 18:01 grondo