id
stringlengths
27
31
content
stringlengths
14
287k
max_stars_repo_path
stringlengths
52
57
crossvul-java_data_good_1910_15
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_15
crossvul-java_data_good_4033_2
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.ds.common; import org.postgresql.PGProperty; import org.postgresql.jdbc.AutoSave; import org.postgresql.jdbc.PreferQueryMode; import org.postgresql.util.Expression...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4033_2
crossvul-java_data_good_4362_0
/** * (The MIT License) * * Copyright (c) 2008 - 2011: * * * {Aaron Patterson}[http://tenderlovemaking.com] * * {Mike Dalessio}[http://mike.daless.io] * * {Charles Nutter}[http://blog.headius.com] * * {Sergio Arbeo}[http://www.serabe.com] * * {Patrick Mahoney}[http://polycrystal.org] * * {Yoko Harada}[http://...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4362_0
crossvul-java_data_good_1910_3
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_3
crossvul-java_data_bad_1910_3
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_3
crossvul-java_data_bad_1969_1
// Copyright (C) 2012 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1969_1
crossvul-java_data_good_4033_5
/* * Copyright (c) 2020, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.xml; import org.xml.sax.SAXException; import org.xml.sax.XMLReader; import org.xml.sax.helpers.XMLReaderFactory; import javax.xml.XMLConstants; import javax.xml.p...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4033_5
crossvul-java_data_good_4033_6
/* * Copyright (c) 2020, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.xml; import org.xml.sax.EntityResolver; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import java.io.IOException; import java.io.StringReader; ...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4033_6
crossvul-java_data_bad_497_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-611/java/bad_497_0
crossvul-java_data_good_3875_0
/* * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. * * This software is open source. * See the bottom of this file for the licence. */ package org.dom4j; import java.io.StringReader; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import org.dom4j.io.SAXReader; impo...
./CrossVul/dataset_final_sorted/CWE-611/java/good_3875_0
crossvul-java_data_bad_1910_13
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_13
crossvul-java_data_bad_1910_0
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_0
crossvul-java_data_bad_4290_6
/* * file: GanttProjectReader.java * author: Jon Iles * copyright: (c) Packwood Software 2017 * date: 22 March 2017 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software Fou...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4290_6
crossvul-java_data_bad_4362_0
/** * (The MIT License) * * Copyright (c) 2008 - 2011: * * * {Aaron Patterson}[http://tenderlovemaking.com] * * {Mike Dalessio}[http://mike.daless.io] * * {Charles Nutter}[http://blog.headius.com] * * {Sergio Arbeo}[http://www.serabe.com] * * {Patrick Mahoney}[http://polycrystal.org] * * {Yoko Harada}[http://...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4362_0
crossvul-java_data_bad_1910_5
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_5
crossvul-java_data_bad_4290_2
404: Not Found
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4290_2
crossvul-java_data_bad_1910_8
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_8
crossvul-java_data_good_1910_16
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_16
crossvul-java_data_good_1736_0
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
./CrossVul/dataset_final_sorted/CWE-611/java/good_1736_0
crossvul-java_data_good_1910_7
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_7
crossvul-java_data_bad_4033_5
404: Not Found
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4033_5
crossvul-java_data_good_1910_14
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_14
crossvul-java_data_bad_1910_11
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_11
crossvul-java_data_bad_1397_0
/* * Copyright 2017 - 2018 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1397_0
crossvul-java_data_good_1910_6
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_6
crossvul-java_data_bad_4362_1
/** * (The MIT License) * * Copyright (c) 2008 - 2011: * * * {Aaron Patterson}[http://tenderlovemaking.com] * * {Mike Dalessio}[http://mike.daless.io] * * {Charles Nutter}[http://blog.headius.com] * * {Sergio Arbeo}[http://www.serabe.com] * * {Patrick Mahoney}[http://polycrystal.org] * * {Yoko Harada}[http://...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4362_1
crossvul-java_data_bad_1910_4
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_4
crossvul-java_data_bad_2449_11
/* Copyright 2018-2020 Accenture Technology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_2449_11
crossvul-java_data_bad_1910_18
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_18
crossvul-java_data_good_1910_19
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_19
crossvul-java_data_bad_1910_7
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_7
crossvul-java_data_good_1910_9
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_9
crossvul-java_data_good_1910_5
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_5
crossvul-java_data_good_3875_1
/* * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. * * This software is open source. * See the bottom of this file for the licence. */ package org.dom4j.io; import org.xml.sax.SAXException; import org.xml.sax.SAXNotRecognizedException; import org.xml.sax.SAXNotSupportedException; import org.xml.sa...
./CrossVul/dataset_final_sorted/CWE-611/java/good_3875_1
crossvul-java_data_good_4033_4
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.jdbc; import org.postgresql.core.BaseConnection; import org.postgresql.util.GT; import org.postgresql.util.PSQLException; import org.postgresql.util.PSQLState; imp...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4033_4
crossvul-java_data_bad_1910_15
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_15
crossvul-java_data_good_4362_1
/** * (The MIT License) * * Copyright (c) 2008 - 2011: * * * {Aaron Patterson}[http://tenderlovemaking.com] * * {Mike Dalessio}[http://mike.daless.io] * * {Charles Nutter}[http://blog.headius.com] * * {Sergio Arbeo}[http://www.serabe.com] * * {Patrick Mahoney}[http://polycrystal.org] * * {Yoko Harada}[http://...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4362_1
crossvul-java_data_bad_1910_9
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_9
crossvul-java_data_bad_4762_1
package org.bouncycastle.jcajce.provider.asymmetric.dh; import java.io.ByteArrayOutputStream; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4762_1
crossvul-java_data_bad_4758_1
package org.bouncycastle.crypto.test; import java.math.BigInteger; import java.security.SecureRandom; import org.bouncycastle.asn1.ASN1Integer; import org.bouncycastle.asn1.ASN1Sequence; import org.bouncycastle.crypto.AsymmetricCipherKeyPair; import org.bouncycastle.crypto.digests.SHA224Digest; import org.bouncycastl...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4758_1
crossvul-java_data_bad_4758_0
package org.bouncycastle.crypto.signers; import java.math.BigInteger; import java.security.SecureRandom; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.DSA; import org.bouncycastle.crypto.params.DSAKeyParameters; import org.bouncycastle.crypto.params.DSAParameters; import org.bouncyca...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4758_0
crossvul-java_data_bad_4762_5
package org.bouncycastle.jce.provider.test; import java.math.BigInteger; import java.security.InvalidAlgorithmParameterException; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.SecureRandom; import java.security.Security; import javax.crypto.Cipher; import javax.crypto.inter...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4762_5
crossvul-java_data_bad_4762_2
package org.bouncycastle.jcajce.provider.asymmetric.ec; import java.io.ByteArrayOutputStream; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4762_2
crossvul-java_data_good_4762_5
package org.bouncycastle.jce.provider.test; import java.math.BigInteger; import java.security.InvalidAlgorithmParameterException; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.SecureRandom; import java.security.Security; import javax.crypto.BadPaddingException; import javax...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4762_5
crossvul-java_data_good_4762_2
package org.bouncycastle.jcajce.provider.asymmetric.ec; import java.io.ByteArrayOutputStream; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4762_2
crossvul-java_data_good_4762_0
package org.bouncycastle.crypto.engines; import java.io.ByteArrayInputStream; import java.io.IOException; import java.math.BigInteger; import org.bouncycastle.crypto.BasicAgreement; import org.bouncycastle.crypto.BufferedBlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.Deri...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4762_0
crossvul-java_data_good_4762_6
package org.bouncycastle.jce.provider.test; import java.security.InvalidAlgorithmParameterException; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.SecureRandom; import java.security.Security; import java.security.spec.ECGenParameterSpec; import javax.crypto.BadPaddingExcept...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4762_6
crossvul-java_data_good_4762_3
package org.bouncycastle.jcajce.provider.asymmetric.rsa; import java.io.ByteArrayOutputStream; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.InvalidParameterException; import java.security.Key; import ja...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4762_3
crossvul-java_data_good_4758_2
package org.bouncycastle.jce.provider.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.math.BigInteger; import java.security.AlgorithmParameterGenerator; import java.security.Alg...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4758_2
crossvul-java_data_bad_4762_0
package org.bouncycastle.crypto.engines; import java.io.ByteArrayInputStream; import java.io.IOException; import java.math.BigInteger; import org.bouncycastle.crypto.BasicAgreement; import org.bouncycastle.crypto.BufferedBlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.Deri...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4762_0
crossvul-java_data_good_4758_1
package org.bouncycastle.crypto.test; import java.math.BigInteger; import java.security.SecureRandom; import org.bouncycastle.asn1.ASN1Integer; import org.bouncycastle.asn1.ASN1Sequence; import org.bouncycastle.crypto.AsymmetricCipherKeyPair; import org.bouncycastle.crypto.digests.SHA224Digest; import org.bouncycastl...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4758_1
crossvul-java_data_good_4758_0
package org.bouncycastle.crypto.signers; import java.math.BigInteger; import java.security.SecureRandom; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.DSA; import org.bouncycastle.crypto.params.DSAKeyParameters; import org.bouncycastle.crypto.params.DSAParameters; import org.bouncyca...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4758_0
crossvul-java_data_bad_4758_2
package org.bouncycastle.jce.provider.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.math.BigInteger; import java.security.AlgorithmParameterGenerator; import java.security.Alg...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4758_2
crossvul-java_data_bad_4762_4
404: Not Found
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4762_4
crossvul-java_data_bad_4762_3
package org.bouncycastle.jcajce.provider.asymmetric.rsa; import java.io.ByteArrayOutputStream; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.InvalidParameterException; import java.security.Key; import ja...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4762_3
crossvul-java_data_good_4762_1
package org.bouncycastle.jcajce.provider.asymmetric.dh; import java.io.ByteArrayOutputStream; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4762_1
crossvul-java_data_bad_4762_6
package org.bouncycastle.jce.provider.test; import java.security.InvalidAlgorithmParameterException; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.SecureRandom; import java.security.Security; import java.security.spec.ECGenParameterSpec; import javax.crypto.Cipher; import j...
./CrossVul/dataset_final_sorted/CWE-361/java/bad_4762_6
crossvul-java_data_good_4762_4
package org.bouncycastle.jcajce.provider.util; import javax.crypto.BadPaddingException; public class BadBlockException extends BadPaddingException { private final Throwable cause; public BadBlockException(String msg, Throwable cause) { super(msg); this.cause = cause; } publi...
./CrossVul/dataset_final_sorted/CWE-361/java/good_4762_4
crossvul-java_data_good_4306_0
/** * BigBlueButton open source conferencing system - http://www.bigbluebutton.org/ * * Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below). * * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published ...
./CrossVul/dataset_final_sorted/CWE-918/java/good_4306_0
crossvul-java_data_bad_4306_0
/** * BigBlueButton open source conferencing system - http://www.bigbluebutton.org/ * * Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below). * * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published ...
./CrossVul/dataset_final_sorted/CWE-918/java/bad_4306_0
crossvul-java_data_good_658_0
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
./CrossVul/dataset_final_sorted/CWE-755/java/good_658_0
crossvul-java_data_good_658_4
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
./CrossVul/dataset_final_sorted/CWE-755/java/good_658_4
crossvul-java_data_bad_658_4
404: Not Found
./CrossVul/dataset_final_sorted/CWE-755/java/bad_658_4
crossvul-java_data_bad_658_2
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
./CrossVul/dataset_final_sorted/CWE-755/java/bad_658_2
crossvul-java_data_bad_658_1
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
./CrossVul/dataset_final_sorted/CWE-755/java/bad_658_1
crossvul-java_data_bad_658_3
404: Not Found
./CrossVul/dataset_final_sorted/CWE-755/java/bad_658_3
crossvul-java_data_good_658_2
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
./CrossVul/dataset_final_sorted/CWE-755/java/good_658_2
crossvul-java_data_good_658_1
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
./CrossVul/dataset_final_sorted/CWE-755/java/good_658_1
crossvul-java_data_good_658_3
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
./CrossVul/dataset_final_sorted/CWE-755/java/good_658_3
crossvul-java_data_bad_658_0
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
./CrossVul/dataset_final_sorted/CWE-755/java/bad_658_0
crossvul-java_data_bad_4763_1
package org.bouncycastle.crypto.agreement; import java.math.BigInteger; import org.bouncycastle.crypto.BasicAgreement; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.params.AsymmetricKeyParameter; import org.bouncycastle.crypto.params.DHParameters; import org.bouncycastle.crypto.param...
./CrossVul/dataset_final_sorted/CWE-320/java/bad_4763_1
crossvul-java_data_good_4763_4
package org.bouncycastle.jcajce.provider.asymmetric.dh; import java.math.BigInteger; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.security.spec.A...
./CrossVul/dataset_final_sorted/CWE-320/java/good_4763_4
crossvul-java_data_bad_4763_0
package org.bouncycastle.crypto.agreement; import java.math.BigInteger; import java.security.SecureRandom; import org.bouncycastle.crypto.AsymmetricCipherKeyPair; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.generators.DHKeyPairGenerator; import org.bouncycastle.crypto.params.DHKeyG...
./CrossVul/dataset_final_sorted/CWE-320/java/bad_4763_0
crossvul-java_data_good_4763_1
package org.bouncycastle.crypto.agreement; import java.math.BigInteger; import org.bouncycastle.crypto.BasicAgreement; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.params.AsymmetricKeyParameter; import org.bouncycastle.crypto.params.DHParameters; import org.bouncycastle.crypto.param...
./CrossVul/dataset_final_sorted/CWE-320/java/good_4763_1
crossvul-java_data_bad_4763_2
package org.bouncycastle.crypto.engines; import java.io.ByteArrayInputStream; import java.io.IOException; import java.math.BigInteger; import org.bouncycastle.crypto.BasicAgreement; import org.bouncycastle.crypto.BufferedBlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.Deri...
./CrossVul/dataset_final_sorted/CWE-320/java/bad_4763_2
crossvul-java_data_bad_4763_3
package org.bouncycastle.crypto.params; import java.math.BigInteger; public class DHPublicKeyParameters extends DHKeyParameters { private BigInteger y; public DHPublicKeyParameters( BigInteger y, DHParameters params) { super(false, params); this.y = valid...
./CrossVul/dataset_final_sorted/CWE-320/java/bad_4763_3
crossvul-java_data_good_4763_3
package org.bouncycastle.crypto.params; import java.math.BigInteger; public class DHPublicKeyParameters extends DHKeyParameters { private static final BigInteger ONE = BigInteger.valueOf(1); private static final BigInteger TWO = BigInteger.valueOf(2); private BigInteger y; public DHPublicKe...
./CrossVul/dataset_final_sorted/CWE-320/java/good_4763_3
crossvul-java_data_bad_4763_4
package org.bouncycastle.jcajce.provider.asymmetric.dh; import java.math.BigInteger; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.security.spec.A...
./CrossVul/dataset_final_sorted/CWE-320/java/bad_4763_4
crossvul-java_data_good_4763_2
package org.bouncycastle.crypto.engines; import java.io.ByteArrayInputStream; import java.io.IOException; import java.math.BigInteger; import org.bouncycastle.crypto.BasicAgreement; import org.bouncycastle.crypto.BufferedBlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.Deri...
./CrossVul/dataset_final_sorted/CWE-320/java/good_4763_2
crossvul-java_data_good_4763_0
package org.bouncycastle.crypto.agreement; import java.math.BigInteger; import java.security.SecureRandom; import org.bouncycastle.crypto.AsymmetricCipherKeyPair; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.generators.DHKeyPairGenerator; import org.bouncycastle.crypto.params.Asymme...
./CrossVul/dataset_final_sorted/CWE-320/java/good_4763_0
crossvul-java_data_bad_1997_0
/******************************************************************************* * Copyright 2018 The MIT Internet Trust Consortium * * Portions copyright 2011-2013 The MITRE Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
./CrossVul/dataset_final_sorted/CWE-915/java/bad_1997_0
crossvul-java_data_good_1997_0
/******************************************************************************* * Copyright 2018 The MIT Internet Trust Consortium * * Portions copyright 2011-2013 The MITRE Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
./CrossVul/dataset_final_sorted/CWE-915/java/good_1997_0
crossvul-java_data_bad_434_4
// © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License package com.ibm.icu.impl.number; import java.math.BigDecimal; import java.math.BigInteger; /** * A DecimalQuantity with internal storage as a 64-bit BCD, with fallback to a byte array for numbers ...
./CrossVul/dataset_final_sorted/CWE-190/java/bad_434_4
crossvul-java_data_bad_434_5
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License /* ******************************************************************************* * Copyright (C) 2001-2016, International Business Machines Corporation and * others. All Rights Reserved. *******...
./CrossVul/dataset_final_sorted/CWE-190/java/bad_434_5
crossvul-java_data_good_434_3
// © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License package com.ibm.icu.impl.number; import java.math.BigDecimal; import java.math.BigInteger; import java.math.MathContext; import java.text.FieldPosition; import com.ibm.icu.impl.StandardPlural; impor...
./CrossVul/dataset_final_sorted/CWE-190/java/good_434_3
crossvul-java_data_bad_434_3
// © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License package com.ibm.icu.impl.number; import java.math.BigDecimal; import java.math.BigInteger; import java.math.MathContext; import java.text.FieldPosition; import com.ibm.icu.impl.StandardPlural; impor...
./CrossVul/dataset_final_sorted/CWE-190/java/bad_434_3
crossvul-java_data_good_434_4
// © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License package com.ibm.icu.impl.number; import java.math.BigDecimal; import java.math.BigInteger; /** * A DecimalQuantity with internal storage as a 64-bit BCD, with fallback to a byte array for numbers ...
./CrossVul/dataset_final_sorted/CWE-190/java/good_434_4
crossvul-java_data_good_4445_0
/* Copyright (c) 2008-2015, Avian Contributors Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. There is NO WARRANTY for this software. See l...
./CrossVul/dataset_final_sorted/CWE-190/java/good_4445_0
crossvul-java_data_good_434_5
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License /* ******************************************************************************* * Copyright (C) 2001-2016, International Business Machines Corporation and * others. All Rights Reserved. *******...
./CrossVul/dataset_final_sorted/CWE-190/java/good_434_5
crossvul-java_data_bad_4445_0
/* Copyright (c) 2008-2015, Avian Contributors Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. There is NO WARRANTY for this software. See l...
./CrossVul/dataset_final_sorted/CWE-190/java/bad_4445_0
crossvul-java_data_good_2093_0
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, * Yahoo! Inc., Stephen Connolly, Tom Huybrechts, Alan Harder, Manufacture * Francaise des Pneumatiques Michelin, Romain Seguy * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this ...
./CrossVul/dataset_final_sorted/CWE-310/java/good_2093_0
crossvul-java_data_bad_4760_1
package org.bouncycastle.jce.provider.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.math.BigInteger; import java.security.AlgorithmParameterGenerator; import java.security.Alg...
./CrossVul/dataset_final_sorted/CWE-310/java/bad_4760_1
crossvul-java_data_good_4760_0
package org.bouncycastle.jcajce.provider.asymmetric.dsa; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidParameterException; import java.security.KeyPair; import java.security.SecureRandom; import java.security.spec.AlgorithmParameterSpec; import java.security.spec.DSAParameterSpec...
./CrossVul/dataset_final_sorted/CWE-310/java/good_4760_0
crossvul-java_data_good_2093_3
/* * The MIT License * * Copyright 2013 Jesse Glick. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
./CrossVul/dataset_final_sorted/CWE-310/java/good_2093_3
crossvul-java_data_good_4755_0
package org.bouncycastle.crypto.engines; import org.bouncycastle.crypto.BlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.DataLengthException; import org.bouncycastle.crypto.OutputLengthException; import org.bouncycastle.crypto.params.KeyParameter; import org.bouncycastle.uti...
./CrossVul/dataset_final_sorted/CWE-310/java/good_4755_0
crossvul-java_data_bad_2093_0
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, * Yahoo! Inc., Stephen Connolly, Tom Huybrechts, Alan Harder, Manufacture * Francaise des Pneumatiques Michelin, Romain Seguy * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this ...
./CrossVul/dataset_final_sorted/CWE-310/java/bad_2093_0
crossvul-java_data_bad_4761_0
package org.bouncycastle.jcajce.provider.asymmetric; import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; import org.bouncycastle.jcajce.provider.asymmetric.dh.KeyFactorySpi; import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; import org.bouncyc...
./CrossVul/dataset_final_sorted/CWE-310/java/bad_4761_0
crossvul-java_data_good_4756_2
package org.bouncycastle.jcajce.provider.symmetric; import java.io.IOException; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.SecureRandom; import java.security.spec.AlgorithmParameterSpec; import java.security.spec.InvalidParameterSpecException...
./CrossVul/dataset_final_sorted/CWE-310/java/good_4756_2
crossvul-java_data_bad_2093_3
404: Not Found
./CrossVul/dataset_final_sorted/CWE-310/java/bad_2093_3
crossvul-java_data_bad_2093_1
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Romain Seguy * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, includi...
./CrossVul/dataset_final_sorted/CWE-310/java/bad_2093_1