-Fix off by one error in new SDR parsing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
73fb3d17ee
commit
061d94cad7
@ -4864,7 +4864,7 @@ sub add_sdr_data {
|
||||
$sessdata->{ipmissession}->logout();
|
||||
return; #abort the whole mess
|
||||
}
|
||||
push @{$sessdata->{sdr_data}},@returnd[3..@returnd-2];
|
||||
push @{$sessdata->{sdr_data}},@returnd[3..@returnd-1];
|
||||
$sessdata->{sdr_offset} += $numbytes;
|
||||
if($sessdata->{sdr_offset}+$numbytes > $sessdata->{curr_sdr_len}) { #scale back request for remainder
|
||||
$numbytes = $sessdata->{curr_sdr_len} - $sessdata->{sdr_offset};
|
||||
|
Loading…
x
Reference in New Issue
Block a user