1
1
A helper method in Request.java could cause a crash
if the request array that was passed contained nulls.

Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
Этот коммит содержится в:
Nathaniel Graham 2015-08-10 15:54:36 -06:00
родитель 624a4a0f82
Коммит 8f4c16da27

Просмотреть файл

@ -471,8 +471,12 @@ public class Request implements Freeable
{
long[] h = new long[r.length];
for(int i = 0; i < r.length; i++)
h[i] = r[i].handle;
for(int i = 0; i < r.length; i++) {
if(r[i] != null)
h[i] = r[i].handle;
else
h[i] = 0;
}
return h;
}