Skip to content

Commit ce10006

Browse files
ldegiobryanseay
authored andcommitted
as described in issue #1350, the limited size of sinsp_chisel::m_lua_fld_storage prevents chisels from receving the full content of big buffers. This patch sets the size to PPM_MAX_ARG_SIZE, so that anything that is captured by the driver can reach chisels. (#1361)
1 parent 3c093ce commit ce10006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userspace/libsinsp/chisel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class SINSP_PUBLIC sinsp_chisel
153153
uint64_t m_lua_last_interval_sample_time;
154154
uint64_t m_lua_last_interval_ts;
155155
vector<sinsp_filter_check*> m_allocated_fltchecks;
156-
char m_lua_fld_storage[16384];
156+
char m_lua_fld_storage[PPM_MAX_ARG_SIZE];
157157
chiselinfo* m_lua_cinfo;
158158
string m_new_chisel_to_exec;
159159
int m_udp_socket;

0 commit comments

Comments
 (0)