[haiku-commits] Change in haiku[r1beta1]: arp: Trim the reply buffer to the filled length.

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 20 Nov 2018 20:59:52 +0000

From Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>:

Alexander von Gluck IV has uploaded this change for review. ( 
https://review.haiku-os.org/720


Change subject: arp: Trim the reply buffer to the filled length.
......................................................................

arp: Trim the reply buffer to the filled length.

We reuse the incoming request buffer to send our reply. We did however
not trim that buffer to the length we actually filled out, allowing
any extraneous incoming data to remain in that buffer and be sent back.
---
M src/add-ons/kernel/network/datalink_protocols/arp/arp.cpp
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://git.haiku-os.org/haiku refs/changes/20/720/1
--
To view, visit https://review.haiku-os.org/720
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: r1beta1
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idcc8a7da8dfb433b2d2ed6a47e65ded42426fb01
Gerrit-Change-Number: 720
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Gerrit-Reviewer: Michael Lotz <mmlr@xxxxxxxx>

Other related posts:

  • » [haiku-commits] Change in haiku[r1beta1]: arp: Trim the reply buffer to the filled length. - Gerrit