BUG/MINOR: spoa-example: unexpected behavior for more than 127 args
authorThierry FOURNIER <thierry.fournier@ozon.io>
Sun, 25 Feb 2018 20:33:38 +0000 (21:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Mar 2018 11:59:10 +0000 (12:59 +0100)
commit29a05c13d1f43e4f05b4211a9ccc65205b2e1cf0
tree1ace790f1ce162b1164ea7904e202ef19e475c5b
parent13c53f8cc2a4d18eed8ad086465fbf668901e63d
BUG/MINOR: spoa-example: unexpected behavior for more than 127 args

Buf is unsigned, so nbargs will be negative for more then 127 args.

Note that I cant test this bug because I cant put sufficient args
on the configuration line. It is just detected reading code.

[wt: this can be backported to 1.8 & 1.7]
contrib/spoa_example/spoa.c