mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-08 14:27:30 +00:00
If haproxy is compiled with the USE_PCRE_JIT option, the length of the string is used. If it is compiled without this option the function doesn't use the length and expects a null terminated string. The prototype of the function is ambiguous, and depends on the compilation option. The developer can think that the length is always used, and many bugs can be created. This patch makes sure that the length is used. The regex_exec function adds the final '\0' if it is needed. |
||
---|---|---|
.. | ||
accept4.h | ||
appsession.h | ||
base64.h | ||
buffer.h | ||
cfgparse.h | ||
chunk.h | ||
compat.h | ||
compiler.h | ||
config.h | ||
debug.h | ||
defaults.h | ||
epoll.h | ||
errors.h | ||
memory.h | ||
mini-clist.h | ||
rbtree.h | ||
regex.h | ||
sessionhash.h | ||
splice.h | ||
standard.h | ||
syscall.h | ||
template.h | ||
ticks.h | ||
time.h | ||
tools.h | ||
uri_auth.h | ||
version.h |