BUG/MINOR: spoe: fix off-by-one length in UUID format string
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Oct 2019 09:25:49 +0000 (10:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Oct 2019 09:33:13 +0000 (10:33 +0100)
commit4fd6d671b239942c93a2f48850b32b9be150b1ba
tree8d464067db28dc3942934ca72c8dd3862cdd5234
parente112c8a64be8ba2f7d8efb3221ec87a6ec119c54
BUG/MINOR: spoe: fix off-by-one length in UUID format string

The per-thread UUID string produced by generate_pseudo_uuid() could be
off by one character due to too small of size limit in snprintf(). In
practice the UUID remains large enough to avoid any collision though.

This should be backported to 2.0 and 1.9.
src/flt_spoe.c