target: report too-small parameter lists everywhere
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Sep 2012 15:30:33 +0000 (17:30 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Sep 2012 18:09:08 +0000 (11:09 -0700)
Several places were not checking that the parameter list length
was large enough, and thus accessing invalid memory.  Zero-length
parameter lists are just a special case of this.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found