From 4a1497f36761c3d94a77db8e1e7f5dac473798e4 Mon Sep 17 00:00:00 2001 From: Jami Cogswell Date: Thu, 11 Jul 2024 12:32:55 -0400 Subject: [PATCH] Java: add IOUtils.toByteArray(InputStream) summary --- java/ql/lib/ext/org.apache.commons.io.model.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/java/ql/lib/ext/org.apache.commons.io.model.yml b/java/ql/lib/ext/org.apache.commons.io.model.yml index c8002cb3f855..4b71eca96fee 100644 --- a/java/ql/lib/ext/org.apache.commons.io.model.yml +++ b/java/ql/lib/ext/org.apache.commons.io.model.yml @@ -10,6 +10,7 @@ extensions: # Note that if a callable has any handwritten summary, all generated summaries # will be ignored for that callable. - ["org.apache.commons.io", "IOUtils", False, "toBufferedInputStream", "", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["org.apache.commons.io", "IOUtils", True, "toByteArray", "(InputStream)", "", "Argument[0]", "ReturnValue", "taint", "manual"] - ["org.apache.commons.io", "IOUtils", True, "toByteArray", "(Reader)", "", "Argument[0]", "ReturnValue", "taint", "manual"] - ["org.apache.commons.io", "IOUtils", True, "toByteArray", "(Reader,String)", "", "Argument[0]", "ReturnValue", "taint", "manual"] - ["org.apache.commons.io", "IOUtils", True, "writeLines", "(Collection,String,Writer)", "", "Argument[0].Element", "Argument[2]", "taint", "manual"]