etcp: etcp_inflight_nullify_link читал entry->data вместо entry — last_link не обнулялся (UAF в bbr/retrans)
This commit is contained in:
1 parent
66bdfe7c47
commit
fbfefdef16
1 file changed
+1
-1
@@ -951,7 +951,7 @@ static void etcp_inflight_nullify_link(struct ll_queue* q, struct ETCP_LINK* dea
|
||||
if (!q) return;
|
||||
struct ll_entry* entry = q->head;
|
||||
while (entry) {
|
||||
struct INFLIGHT_PACKET* inf = (struct INFLIGHT_PACKET*)entry->data;
|
||||
struct INFLIGHT_PACKET* inf = (struct INFLIGHT_PACKET*)entry;
|
||||
if (inf->last_link == dead_link) inf->last_link = NULL;
|
||||
entry = entry->next;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user