haproxy/dev
Aurelien DARRAGON afd5f5d671 DEV: h2: fix h2-tracer.lua nil value index
Nick Ramirez reported the following error while testing the h2-tracer.lua
script:

  Lua filter 'h2-tracer' : [state-id 0] runtime error: /etc/haproxy/h2-tracer.lua:227: attempt to index a nil value (field '?') from /etc/haproxy/h2-tracer.lua:227: in function line 109.

It is caused by h2ff indexing with an out of bound value. Indeed, h2ff
is indexed with the frame type, which can potentially be > 9 (not common
nor observed during Willy's tests), while h2ff only defines indexes from
0 to 9.

The fix was provided by Willy, it consists in skipping h2ff indexing if
frame type is > 9. It was confirmed that doing so fixes the error.
2025-04-08 17:44:41 +02:00
..
base64
coccinelle DEV: coccinelle: add a test to detect unchecked calloc() 2024-08-24 19:13:56 +02:00
flags DEV: lags/show-sess-to-flags: Properly handle fd state on server side 2024-11-25 21:57:30 +01:00
gdb CLEANUP: assorted typo fixes in the code and comments 2025-04-02 11:12:20 +02:00
h2 DEV: h2: fix h2-tracer.lua nil value index 2025-04-08 17:44:41 +02:00
haring
hpack
ncpu DEV: ncpu: also emulate sysconf() for _SC_NPROCESSORS_* 2025-03-14 18:30:30 +01:00
patchbot DEV: patchbot: prepare for new version 3.2-dev 2024-11-26 17:24:21 +01:00
phash DEV: phash: Update 414 and 431 status codes to phash 2024-11-19 15:29:40 +01:00
plug_qdisc
poll
qpack
sslkeylogger
tcploop
term_events MINOR: tevt/dev: Parse tuple of termination events 2025-01-31 10:46:08 +01:00
trace
udp