Codebase list libhtp / cb675ac
Update upstream source from tag 'upstream/0.5.38' Update to upstream version '0.5.38' with Debian dir 4266265c366eea07b8c8239b738abd89b5591276 Sascha Steinbiss 2 years ago
5 changed file(s) with 16 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 0.5.38 (30 Jun 2021)
1 --------------------
2
3 - consume empty lines when parsing chunks to avoid quadratic complexity
4
5 - autotools fix for cygwin
6
07 0.5.37 (2 March 2021)
18 ---------------------
29
00 # This file is intended to be sourced by sh
1 PKG_VERSION=0.5.37
1 PKG_VERSION=0.5.38
153153 sinclude(m4/lib-link.m4)
154154 sinclude(m4/lib-prefix.m4)
155155 AM_ICONV
156 AM_CONDITIONAL([CYGWIN], [test x${OS_CYGWIN} = xtrue])
156157
157158 # iconvctl is not standard, it is defined only in GNU libiconv
158159 AC_MSG_CHECKING(for iconvctl)
2828 libhtp_la_SOURCES =
2929 libhtp_la_LIBADD = libhtp-c.la lzma/liblzma-c.la
3030 libhtp_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
31 if CYGWIN
32 libhtp_la_LIBADD += $(LIBICONV)
33 libhtp_la_LDFLAGS += -no-undefined
34 endif
417417 connp->out_chunked_length = htp_parse_chunked_length(data, len);
418418
419419 // empty chunk length line, lets try to continue
420 if (connp->out_chunked_length == -1004)
420 if (connp->out_chunked_length == -1004) {
421 connp->out_current_consume_offset = connp->out_current_read_offset;
421422 continue;
423 }
422424 if (connp->out_chunked_length < 0) {
423425 // reset out_current_read_offset so htp_connp_RES_BODY_IDENTITY_STREAM_CLOSE
424426 // doesn't miss the first bytes