kaltura / nginx-aggr-module

Aggregates JSON events received over UDP/TCP
GNU Affero General Public License v3.0
8 stars 1 forks source link

complex dims eval error bug fix #35

Closed erankor closed 2 years ago

erankor commented 2 years ago

if the first complex dim in the aggr result evaluates to an empty string, ngx_aggr_result_temp_alloc returns null (requested size is not larger than allocated size, both are zero) this makes ngx_aggr_complex_value fail. the fix is to allocate the buffer if requested size is bigger than allocated OR the current pointer is null.