netipmid: Handle invalid length for getPayloadInfo

Invalid length error check added for getPayloadInfo command

Tested:
1.Verified negative case by providing improper length
ipmitool -I lanplus -H <ip-addr> -U <user> -P  <passwd>  raw 0x06 0x4b 0x01 0x01 0x00
Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x4b rsp=0xc7):
Request data length invalid  //response

2.Verified normal case and output is same
ipmitool -I lanplus -H <ip-addr> -U <user> -P  <passwd>  raw 0x06 0x4b 0x01 0x01
00 00 00 00 00 00 00 00 00 00 00 00 //response

Signed-off-by: anil kumar appana <anil.kumarx.appana@intel.com>
Change-Id: I5d03e1703dc3bcf6503bfcfdbebc9fc4c29074be
1 file changed