[cmds-scrub.c:539]: (style) Array index 'i' is used before limits check.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

Static analyser cppcheck says many things
about btrfs-progs, including the subject line.

Source code is

            while (isspace(l[i]) && i < avail) {

Suggest code rework. I checked the latest source
code and the bug exists there too.

Regards

David Binderman 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux