]> granicus.if.org Git - pdns/commit
dnsdist: Fix potential pointer wrap-around on 32 bits
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 10 Aug 2017 12:14:34 +0000 (14:14 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 Aug 2017 07:58:58 +0000 (09:58 +0200)
commit09b3b35712edba043dae563d0cb42cd0ebb32b38
treebd01a5ae37d758590d85aa9571e367db5dfdc926
parent7e8175748b39204b3a92f860f7621ab8b3b13a51
dnsdist: Fix potential pointer wrap-around on 32 bits

This can lead to a DoS on 32 bits if a backend server sends a
crafted response and we happen to be working with a buffer allocated to
a very high virtual address.

Reported by Guido Vranken (many thanks!).
pdns/dnsdist-ecs.cc