[Swan-dev] New Defects reported by Coverity Scan for antonyantony/libreswan

scan-admin at coverity.com scan-admin at coverity.com
Wed Feb 2 01:08:47 EET 2022


Hi,

Please find the latest report on new defect(s) introduced to antonyantony/libreswan found with Coverity Scan.

1 new defect(s) introduced to antonyantony/libreswan found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1511318:  Memory - corruptions  (OVERRUN)
/lib/libswan/ttoaddress.c: 275 in colon()


________________________________________________________________________________________________________
*** CID 1511318:  Memory - corruptions  (OVERRUN)
/lib/libswan/ttoaddress.c: 275 in colon()
269     			if (oops != NULL) {
270     				return oops;
271     			}
272     
273     			/* network order */
274     			u.byte[i++] = value >> 8;
>>>     CID 1511318:  Memory - corruptions  (OVERRUN)
>>>     Overrunning array "u.byte" of 16 bytes at byte offset 16 using index "i++" (which evaluates to 16).
275     			u.byte[i++] = value & 0xff;
276     		}
277     	}
278     
279     	if (cursor.len != 0 && hunk_char(cursor, 0) == ':') {
280     		/* special, common case */


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYR6ZA_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ39eMZwTmjG4qzswcSn69MhFwSNLhmnpaish2I11LiVPk7uJxhtOO8zYSLRor9s3hYFR8dPgwQ7krF-2BofC7bvlibnPSmR-2BhFkBsQqzcYnLLnjg59Kf8p4be2htULP1ioAoqfebroCulyk2ibF7jaCdom4vmbFU-2F5R0ovF2R-2FoxJSmj5pRSWBwysM5jneuEAIEYU-3D

  To manage Coverity Scan email notifications for "swan-dev at lists.libreswan.org", click https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yped04pjJnmXOsUBtKYNIXxUzCfl-2FUi6sRJtnGH1-2FWXEIl9xkb2JliKiAkqgdujeIgWYvUCIHO1g-2Ba8I-2B0nANYHmrw9-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxi9-fu_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ39eMZwTmjG4qzswcSn69MhFwSNLhmnpaish2I11LiVPk5Ydu0xC6XEwGiKQzCW-2BK0IMRe-2BoiH48Y60P247iIoLWxLOJVVHtuDEwoBeZ-2Ben46dqRCJkqbqvqgy0LIDVp1PN1a1v6bq-2FkGcbI0R-2BP5Y8fpnRIsinQpNeDmPMpDSjYKmj0Nx8yeUcvoXvFhuLdVH4-3D



More information about the Swan-dev mailing list