haproxy/include/types
Remi Gacogne 00488ddef5 BUG: dns: Fix off-by-one write in dns_validate_dns_response()
The maximum number of bytes in a DNS name is indeed 255, but we
need to allocate one more byte for the NULL-terminating byte.
Otherwise dns_read_name() might return 255 for a very long name,
causing dns_validate_dns_response() to write a NULL value one
byte after the end of the buffer:

dns_answer_record->name[len] = 0;

The next fields in the struct being filled from the content of the
query, it might have been possible to fill them with non-0 values,
causing for example a strlen() of the name to read past the end of
the struct and access unintended parts of the memory, possibly
leading to a crash.

To be backported to 1.8, probably also 1.7.
2018-12-12 14:44:52 +01:00
..
acl.h
action.h MINOR: http: Make new "early-hint" http-request action really be parsed. 2018-11-12 21:08:55 +01:00
activity.h MINOR: activity: report the average loop time in "show activity" 2018-11-22 11:48:41 +01:00
applet.h MEDIUM: cache/htx: Add the HTX support into the cache 2018-12-11 17:09:31 +01:00
arg.h
auth.h
backend.h
cache.h
capture.h
channel.h MEDIUM: channel: reorder the channel analyzers for the cli 2018-10-28 14:13:31 +01:00
checks.h CLEANUP: Fix a typo in the checks header file 2018-12-02 18:43:21 +01:00
cli.h MEDIUM: cli: disable some keywords in the master 2018-10-28 13:51:39 +01:00
compression.h
connection.h BUG/MEDIUM: connections: Split CS_FL_RCV_MORE into 2 flags. 2018-12-06 16:36:05 +01:00
counters.h
dns.h BUG: dns: Fix off-by-one write in dns_validate_dns_response() 2018-12-12 14:44:52 +01:00
fd.h CLEANUP: Fix typos in the file descriptor subsystem 2018-12-02 18:43:25 +01:00
filters.h MAJOR: filters: Adapt filters API to be compatible with the HTX represenation 2018-12-01 17:37:27 +01:00
freq_ctr.h
global.h REORG: mworker: declare master variable in global.h 2018-11-27 19:34:00 +01:00
hdr_idx.h
hlua.h REORG: h1: move the h1_state definition to proto_http 2018-12-11 17:15:13 +01:00
http_htx.h REORG: htx: merge types+proto into common/htx.h 2018-12-11 17:15:04 +01:00
lb_chash.h
lb_fas.h
lb_fwlc.h
lb_fwrr.h
lb_map.h
listener.h CLEANUP: Fix a typo in the listener subsystem 2018-12-02 18:43:28 +01:00
log.h MEDIUM: log: add a new "raw" format 2018-11-12 18:37:55 +01:00
mailers.h
map.h
obj_type.h
pattern.h
peers.h
pipe.h
port_range.h
proto_http.h CLEANUP: h1: remove some occurrences of unneeded h1.h inclusions 2018-12-11 17:15:13 +01:00
proto_udp.h
protocol.h
proxy.h MINOR: mux-h1: Capture bad H1 messages 2018-12-01 17:37:27 +01:00
queue.h
sample.h
server.h MEDIUM: servers: Add a way to keep idle connections alive. 2018-12-02 18:16:53 +01:00
session.h MAJOR: sessions: Store multiple outgoing connections in the session. 2018-12-01 10:47:18 +01:00
shctx.h MINOR: shctx: Change max. object size type to unsigned int. 2018-10-26 04:54:40 +02:00
signal.h
spoe.h
ssl_sock.h
stats.h MINOR: polling: add an option to support busy polling 2018-11-22 19:47:30 +01:00
stick_table.h
stream_interface.h MINOR: stream-int: add a new blocking condition on the remote connection 2018-12-06 15:24:01 +01:00
stream.h CLEANUP: stream: remove SF_TUNNEL, SF_INITIALIZED, SF_CONN_TAR 2018-12-11 18:01:38 +01:00
task.h MEDIUM: tasks: collect per-task CPU time and latency 2018-11-22 15:44:21 +01:00
template.h
vars.h