From 194d1f766ef3000050c78fbcbd632e0808b49250 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 17:31:19 +0000 Subject: Apply patch 0001-Revert-Out-of-bounds-read-Overrunning-array-of-8-2-b.patch patch_name: 0001-Revert-Out-of-bounds-read-Overrunning-array-of-8-2-b.patch present_in_specfile: true location_in_specfile: 25 --- diff --git a/iscsiuio/src/uip/ipv6.c b/iscsiuio/src/uip/ipv6.c index 5710199..05efa73 100644 --- a/iscsiuio/src/uip/ipv6.c +++ b/iscsiuio/src/uip/ipv6.c @@ -521,7 +521,7 @@ static void ipv6_insert_protocol_chksum(struct ipv6_hdr *ipv6) sum = 0; ptr = (u16_t *)&ipv6->ipv6_src; - for (i = 0; i < sizeof(struct ipv6_addr); i += 2) { + for (i = 0; i < sizeof(struct ipv6_addr); i++) { sum += HOST_TO_NET16(*ptr); ptr++; }