You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, most of the transformations share the same buffer for their output (_tr_buffer), or use a buffer that becomes shared (_ip_addr_A_buff in case of ip.ntop transformation). This leads to an undefined behavior when chaining multiple transformations, or when comparing the output of a transformation (see #1568).
An idea to fix this is to attach a special buffer to the variable's spec, that can be used by any transformation in the chain.
The text was updated successfully, but these errors were encountered:
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.
This patch adds several buffers, on two layers, such that the following
operations are no longer broken (i.e. leading to buffer overruns and
incorrect results):
* putting together any kind of transformation chain without the risk
of reading and writing into the same transformation buffer
* passing multiple transformation-enabled variables with arbitrary
chaining lengths to a script function without the risk of any two
of them making use of the same buffer
Many thanks to Răzvan Crainea for some timely tips!
Fixes#1572
(cherry picked from commit 25c7c59)
This patch adds several buffers, on two layers, such that the following
operations are no longer broken (i.e. leading to buffer overruns and
incorrect results):
* putting together any kind of transformation chain without the risk
of reading and writing into the same transformation buffer
* passing multiple transformation-enabled variables with arbitrary
chaining lengths to a script function without the risk of any two
of them making use of the same buffer
Many thanks to Răzvan Crainea for some timely tips!
Fixes#1572
Currently, most of the transformations share the same buffer for their output (
_tr_buffer
), or use a buffer that becomes shared (_ip_addr_A_buff
in case ofip.ntop
transformation). This leads to an undefined behavior when chaining multiple transformations, or when comparing the output of a transformation (see #1568).An idea to fix this is to attach a special buffer to the variable's spec, that can be used by any transformation in the chain.
The text was updated successfully, but these errors were encountered: