]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
and yet more -V512 false positives
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 25 May 2017 20:30:28 +0000 (16:30 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 25 May 2017 20:30:28 +0000 (16:30 -0400)
src/protocols/radius/tcp.c

index 4d889c2368709dc587f2374d3b3dc7f1c111c759..0faf435d68e206b121324cedb540f4ee60c3f43d 100644 (file)
@@ -110,7 +110,7 @@ int fr_tcp_read_packet(RADIUS_PACKET *packet, bool require_ma)
 
                packet->data_len = packet_len;
                packet->partial = 4;
-               memcpy(packet->data, packet->vector, 4);
+               memcpy(packet->data, packet->vector, 4);        //-V512
        }
 
        /*