freebsd-dev/sbin/camcontrol
Alexander Motin 36289c3336 Add checks for received mode page length.
If our buffer is too small, we may receive part of the page, and should
not try read/write past the end of the buffer.

Reported by:	Coverity
CID:		1368374, 1368375
MFC after:	1 week
2017-01-10 20:52:44 +00:00
..
attrib.c Fix multiple Coverity Out-of-bounds access false postive issues in CAM 2016-05-24 00:57:11 +00:00
camcontrol.8 Make 'camcontrol modepage' support subpages. 2017-01-07 09:56:12 +00:00
camcontrol.c Make 'camcontrol modepage' support subpages. 2017-01-07 09:56:12 +00:00
camcontrol.h Make 'camcontrol modepage' support subpages. 2017-01-07 09:56:12 +00:00
epc.c Fix a couple of new instances of a false positive Coverity buffer 2016-05-25 15:43:01 +00:00
fwdownload.c Fix multiple Coverity Out-of-bounds access false postive issues in CAM 2016-05-24 00:57:11 +00:00
Makefile Add SCSI REPORT TIMESTAMP and SET TIMESTAMP support. 2016-12-01 22:20:27 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
modeedit.c Add checks for received mode page length. 2017-01-10 20:52:44 +00:00
persist.c Fix multiple Coverity Out-of-bounds access false postive issues in CAM 2016-05-24 00:57:11 +00:00
progress.c Use nitems() from sys/param.h. 2016-04-19 11:12:57 +00:00
progress.h Add progress.c and progress.h, missed in the previous commit to camcontrol. 2012-06-20 04:11:34 +00:00
timestamp.c Cut to the chase and just call free instead of free(x) + x = NULL 2016-12-10 23:58:14 +00:00
util.c Fix build. 2011-11-25 07:11:02 +00:00
zone.c Fix a couple of new instances of a false positive Coverity buffer 2016-05-25 15:43:01 +00:00