Line
Link Here
|
|
-- src/zicc.c |
|
|
Lines 77-82
zseticcspace(i_ctx_t * i_ctx_p)
Link Here
|
77 |
dict_find_string(op, "N", &pnval); |
77 |
dict_find_string(op, "N", &pnval); |
78 |
ncomps = pnval->value.intval; |
78 |
ncomps = pnval->value.intval; |
79 |
|
79 |
|
|
|
80 |
if (2*ncomps > sizeof(range_buff)/sizeof(float)) |
81 |
return_error(e_rangecheck); |
82 |
|
80 |
/* verify the DataSource entry */ |
83 |
/* verify the DataSource entry */ |
81 |
if (dict_find_string(op, "DataSource", &pstrmval) <= 0) |
84 |
if (dict_find_string(op, "DataSource", &pstrmval) <= 0) |
82 |
return_error(e_undefined); |
85 |
return_error(e_undefined); |