]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make do_buff_decode() not read past the end of the buffer.
authorAlexander Motin <mav@FreeBSD.org>
Sat, 7 Jan 2017 09:33:11 +0000 (09:33 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Sat, 7 Jan 2017 09:33:11 +0000 (09:33 +0000)
commit26b1288f5ad5b549bd29939751bc11f1fb77783b
tree45b4dd877d222c384385bc2f278888d715c1abca
parent3bc6f09c7b773fd8c267879531d160d6780ccb46
Make do_buff_decode() not read past the end of the buffer.

Abort format processing as soon as we have no enough data.

MFC after: 2 weeks
lib/libcam/scsi_cmdparse.c
sbin/camcontrol/modeedit.c