]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: when passing RRs across the bus, make sure not to use name compression
authorLennart Poettering <lennart@poettering.net>
Fri, 21 Aug 2015 14:04:59 +0000 (16:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Aug 2015 14:04:59 +0000 (16:04 +0200)
commitf6a5fec6b971e2a8c69d92ab20ed13693be82ddb
tree1d44bb4d68bdebb78f875d860ea086bba46c03fe
parentef7051360aefca01d20f700ee74ac1baced59879
resolved: when passing RRs across the bus, make sure not to use name compression

We explicitly need to turn off name compression when marshalling or
demarshalling RRs for bus transfer, since they otherwise refer to packet
offsets that reference packets that are not transmitted themselves.
src/resolve-host/resolve-host.c
src/resolve/resolved-bus.c
src/resolve/resolved-dns-packet.c
src/resolve/resolved-dns-packet.h