Wireshark-commits: [Wireshark-commits] master-1.12 960ac0b: DNS: Ignore Client Subnet option's data
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=960ac0b0b15261a5bcb7435b613febd123d4e0be
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
960ac0b by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):
DNS: Ignore Client Subnet option's data length when > 16
When DNS Client Subnet length is > 16, the limit coming from avoid stack smashing with tvb_memcpy
Issue reported by Boaz
Bug:10988
Change-Id: I6103ba47fac9817410c7fc399c18e96c66ab8438
Reviewed-on: https://code.wireshark.org/review/7308
Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
(cherry picked from commit 30651ab18b42e666f57ea239e58f3ff3a5e9c4ad)
Reviewed-on: https://code.wireshark.org/review/11824
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Actions performed:
from 146485d Add CMakeLists.txt.user* to .gitignore.
adds 960ac0b DNS: Ignore Client Subnet option's data length when > 16
Summary of changes:
epan/dissectors/packet-dns.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)