Ticket #44996

generate_packets.py: locally allocate pre-send packet copy

오픈 날짜: 2022-07-04 02:29 마지막 업데이트: 2022-07-05 18:41

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

Split from #44993. For packets with a pre-send hook, an extra packet copy is allocated (on the heap), so that the pre-send hook can modify it without changing the original packet passed in from outside. This packet should instead be declared locally, to avoid issues with freeing the allocated memory.

Ticket History (3/4 Histories)

2022-07-04 02:29 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: locally allocate pre-send packet copy" created
2022-07-04 03:20 Updated by: alienvalkyrie
  • Resolution Update from None to Accepted
2022-07-05 18:41 Updated by: alienvalkyrie
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login