id stringlengths 27 31 | content stringlengths 14 287k | max_stars_repo_path stringlengths 52 57 |
|---|---|---|
crossvul-java_data_bad_4755_2 | package org.bouncycastle.jcajce.provider.asymmetric.dh;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigInteger;
import javax.crypto.interfaces.DHPublicKey;
import javax.crypto.spec.DHParameterSpec;
import javax.crypto.spec.DHPublicKeySpec;
import ... | ./CrossVul/dataset_final_sorted/CWE-310/java/bad_4755_2 |
crossvul-java_data_bad_4761_2 | 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-310/java/bad_4761_2 |
crossvul-java_data_bad_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/bad_4760_0 |
crossvul-java_data_good_4755_1 | 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-310/java/good_4755_1 |
crossvul-java_data_good_4755_4 | 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-310/java/good_4755_4 |
crossvul-java_data_bad_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/bad_4755_0 |
crossvul-java_data_good_4756_1 | package org.bouncycastle.jcajce.provider.drbg;
import java.security.SecureRandom;
import java.security.SecureRandomSpi;
import org.bouncycastle.crypto.digests.SHA512Digest;
import org.bouncycastle.crypto.prng.SP800SecureRandomBuilder;
import org.bouncycastle.jcajce.provider.config.ConfigurableProvider;
import org.bou... | ./CrossVul/dataset_final_sorted/CWE-310/java/good_4756_1 |
crossvul-java_data_bad_4755_4 | 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-310/java/bad_4755_4 |
crossvul-java_data_bad_4755_3 | package org.bouncycastle.jcajce.provider.asymmetric.dh;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.KeySpec;
import javax.cr... | ./CrossVul/dataset_final_sorted/CWE-310/java/bad_4755_3 |
crossvul-java_data_good_4756_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_4756_0 |
crossvul-java_data_bad_789_0 | package org.airsonic.player.controller;
import de.triology.recaptchav2java.ReCaptcha;
import org.airsonic.player.domain.User;
import org.airsonic.player.service.SecurityService;
import org.airsonic.player.service.SettingsService;
import org.apache.commons.lang.RandomStringUtils;
import org.apache.commons.lang.StringUt... | ./CrossVul/dataset_final_sorted/CWE-310/java/bad_789_0 |
crossvul-java_data_good_4761_2 | 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-310/java/good_4761_2 |
crossvul-java_data_good_4755_3 | package org.bouncycastle.jcajce.provider.asymmetric.dh;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.KeySpec;
import javax.cr... | ./CrossVul/dataset_final_sorted/CWE-310/java/good_4755_3 |
crossvul-java_data_good_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/good_4760_1 |
crossvul-java_data_good_4761_1 | package org.bouncycastle.jcajce.provider.asymmetric;
import org.bouncycastle.asn1.bsi.BSIObjectIdentifiers;
import org.bouncycastle.asn1.eac.EACObjectIdentifiers;
import org.bouncycastle.asn1.nist.NISTObjectIdentifiers;
import org.bouncycastle.asn1.sec.SECObjectIdentifiers;
import org.bouncycastle.asn1.teletrust.TeleT... | ./CrossVul/dataset_final_sorted/CWE-310/java/good_4761_1 |
crossvul-java_data_bad_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/bad_4756_2 |
crossvul-java_data_good_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/good_4761_0 |
crossvul-java_data_bad_4756_1 | package org.bouncycastle.jcajce.provider.drbg;
import java.lang.reflect.Constructor;
import java.security.SecureRandom;
import java.security.SecureRandomSpi;
import org.bouncycastle.crypto.digests.SHA512Digest;
import org.bouncycastle.crypto.prng.SP800SecureRandomBuilder;
import org.bouncycastle.jcajce.provider.confi... | ./CrossVul/dataset_final_sorted/CWE-310/java/bad_4756_1 |
crossvul-java_data_good_789_0 | package org.airsonic.player.controller;
import de.triology.recaptchav2java.ReCaptcha;
import org.airsonic.player.domain.User;
import org.airsonic.player.service.SecurityService;
import org.airsonic.player.service.SettingsService;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.Log... | ./CrossVul/dataset_final_sorted/CWE-310/java/good_789_0 |
crossvul-java_data_bad_4755_1 | 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-310/java/bad_4755_1 |
crossvul-java_data_bad_4761_1 | package org.bouncycastle.jcajce.provider.asymmetric;
import org.bouncycastle.asn1.bsi.BSIObjectIdentifiers;
import org.bouncycastle.asn1.eac.EACObjectIdentifiers;
import org.bouncycastle.asn1.nist.NISTObjectIdentifiers;
import org.bouncycastle.asn1.sec.SECObjectIdentifiers;
import org.bouncycastle.asn1.teletrust.TeleT... | ./CrossVul/dataset_final_sorted/CWE-310/java/bad_4761_1 |
crossvul-java_data_bad_4756_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/bad_4756_0 |
crossvul-java_data_good_4755_5 | package org.bouncycastle.jcajce.provider.asymmetric.util;
import java.security.InvalidKeyException;
import java.security.PrivateKey;
import java.security.PublicKey;
import javax.crypto.interfaces.DHPrivateKey;
import javax.crypto.interfaces.DHPublicKey;
import org.bouncycastle.crypto.params.AsymmetricKeyParameter;
i... | ./CrossVul/dataset_final_sorted/CWE-310/java/good_4755_5 |
crossvul-java_data_good_4755_2 | package org.bouncycastle.jcajce.provider.asymmetric.dh;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigInteger;
import javax.crypto.interfaces.DHPublicKey;
import javax.crypto.spec.DHParameterSpec;
import javax.crypto.spec.DHPublicKeySpec;
import ... | ./CrossVul/dataset_final_sorted/CWE-310/java/good_4755_2 |
crossvul-java_data_good_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/good_2093_1 |
crossvul-java_data_bad_4755_5 | package org.bouncycastle.jcajce.provider.asymmetric.util;
import java.security.InvalidKeyException;
import java.security.PrivateKey;
import java.security.PublicKey;
import javax.crypto.interfaces.DHPrivateKey;
import javax.crypto.interfaces.DHPublicKey;
import org.bouncycastle.crypto.params.AsymmetricKeyParameter;
i... | ./CrossVul/dataset_final_sorted/CWE-310/java/bad_4755_5 |
crossvul-java_data_good_44_2 | /*
* 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.tree;
import org.dom4j.DocumentFactory;
import org.dom4j.Namespace;
import org.dom4j.QName;
import java.util.*;
/**
* <p>
* <code>QNameCache<... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_44_2 |
crossvul-java_data_good_1130_3 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_1130_3 |
crossvul-java_data_bad_44_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;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import org.dom4j.... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_44_1 |
crossvul-java_data_bad_1130_4 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_1130_4 |
crossvul-java_data_bad_44_3 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_44_3 |
crossvul-java_data_bad_1130_2 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_1130_2 |
crossvul-java_data_good_1130_2 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_1130_2 |
crossvul-java_data_bad_1130_3 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_1130_3 |
crossvul-java_data_good_1130_0 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_1130_0 |
crossvul-java_data_bad_1130_5 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_1130_5 |
crossvul-java_data_bad_44_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 org.dom4j.tree.AbstractNode;
import org.dom4j.tree.DefaultNamespace;
import org.dom4j.tree.NamespaceCache;
/**
* <code>Namespace</code>... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_44_0 |
crossvul-java_data_good_1130_5 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_1130_5 |
crossvul-java_data_bad_44_2 | /*
* 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.tree;
import org.dom4j.DocumentFactory;
import org.dom4j.Namespace;
import org.dom4j.QName;
import java.util.*;
/**
* <p>
* <code>QNameCache<... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_44_2 |
crossvul-java_data_good_44_3 | package org.dom4j;
import org.testng.annotations.Test;
/**
* @author Filip Jirsák
*/
public class AllowedCharsTest {
@Test
public void localName() {
QName.get("element");
QName.get(":element");
QName.get("elem:ent");
}
@Test(expectedExceptions = IllegalArgumentException.clas... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_44_3 |
crossvul-java_data_good_1130_1 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_1130_1 |
crossvul-java_data_bad_1130_0 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_1130_0 |
crossvul-java_data_bad_1130_1 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/bad_1130_1 |
crossvul-java_data_good_1130_4 | /* ###
* IP: GHIDRA
*
* 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 to in writin... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_1130_4 |
crossvul-java_data_good_44_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;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.r... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_44_1 |
crossvul-java_data_good_44_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 org.dom4j.tree.AbstractNode;
import org.dom4j.tree.DefaultNamespace;
import org.dom4j.tree.NamespaceCache;
/**
* <code>Namespace</code>... | ./CrossVul/dataset_final_sorted/CWE-91/java/good_44_0 |
crossvul-java_data_bad_3889_0 | package com.eebbk.greenbrowser.util;
import android.content.Intent;
import android.net.Uri;
import android.webkit.WebView;
import android.webkit.WebViewClient;
@SuppressWarnings("unused")
class MyWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)... | ./CrossVul/dataset_final_sorted/CWE-862/java/bad_3889_0 |
crossvul-java_data_bad_4619_0 | /*
* 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 to in ... | ./CrossVul/dataset_final_sorted/CWE-862/java/bad_4619_0 |
crossvul-java_data_bad_4619_2 | /*
* Copyright (c) 2013 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 to in ... | ./CrossVul/dataset_final_sorted/CWE-862/java/bad_4619_2 |
crossvul-java_data_bad_4619_1 | /*
* Copyright (c) 2011 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 to in ... | ./CrossVul/dataset_final_sorted/CWE-862/java/bad_4619_1 |
crossvul-java_data_good_4619_1 | /*
* Copyright (c) 2011 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 to in ... | ./CrossVul/dataset_final_sorted/CWE-862/java/good_4619_1 |
crossvul-java_data_good_1897_0 | package io.onedev.server.model;
import static io.onedev.server.model.User.PROP_EMAIL;
import static io.onedev.server.model.User.PROP_FULL_NAME;
import static io.onedev.server.model.User.PROP_NAME;
import static io.onedev.server.model.User.PROP_ACCESS_TOKEN;
import java.util.ArrayList;
import java.util.Collection;
imp... | ./CrossVul/dataset_final_sorted/CWE-862/java/good_1897_0 |
crossvul-java_data_good_4619_2 | /*
* Copyright (c) 2013 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 to in ... | ./CrossVul/dataset_final_sorted/CWE-862/java/good_4619_2 |
crossvul-java_data_good_4619_0 | /*
* 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 to in ... | ./CrossVul/dataset_final_sorted/CWE-862/java/good_4619_0 |
crossvul-java_data_bad_1897_1 | package io.onedev.server.rest;
import java.util.Collection;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.Context... | ./CrossVul/dataset_final_sorted/CWE-862/java/bad_1897_1 |
crossvul-java_data_bad_1897_0 | package io.onedev.server.model;
import static io.onedev.server.model.User.PROP_EMAIL;
import static io.onedev.server.model.User.PROP_FULL_NAME;
import static io.onedev.server.model.User.PROP_NAME;
import static io.onedev.server.model.User.PROP_ACCESS_TOKEN;
import java.util.ArrayList;
import java.util.Collection;
imp... | ./CrossVul/dataset_final_sorted/CWE-862/java/bad_1897_0 |
crossvul-java_data_good_3889_0 | package com.eebbk.greenbrowser.util;
import android.content.Intent;
import android.net.Uri;
import android.webkit.WebView;
import android.webkit.WebViewClient;
@SuppressWarnings("unused")
class MyWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)... | ./CrossVul/dataset_final_sorted/CWE-862/java/good_3889_0 |
crossvul-java_data_good_1897_1 | package io.onedev.server.rest;
import java.util.Collection;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.Context... | ./CrossVul/dataset_final_sorted/CWE-862/java/good_1897_1 |
crossvul-java_data_good_3133_0 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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.or... | ./CrossVul/dataset_final_sorted/CWE-346/java/good_3133_0 |
crossvul-java_data_bad_4353_0 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-346/java/bad_4353_0 |
crossvul-java_data_good_4353_0 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-346/java/good_4353_0 |
crossvul-java_data_bad_3124_0 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-346/java/bad_3124_0 |
crossvul-java_data_good_3124_0 | package org.yaxim.androidclient.service;
import java.io.File;
import java.text.Collator;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.uti... | ./CrossVul/dataset_final_sorted/CWE-346/java/good_3124_0 |
crossvul-java_data_bad_3133_0 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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.or... | ./CrossVul/dataset_final_sorted/CWE-346/java/bad_3133_0 |
crossvul-java_data_bad_3047_1 | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, CloudBees, Inc.
*
* 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, in... | ./CrossVul/dataset_final_sorted/CWE-269/java/bad_3047_1 |
crossvul-java_data_bad_3047_2 | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
*
* 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 l... | ./CrossVul/dataset_final_sorted/CWE-269/java/bad_3047_2 |
crossvul-java_data_good_3057_0 | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Erik Ramfelt, Koichi Fujikawa, Red Hat, Inc., Seiji Sogabe,
* Stephen Connolly, Tom Huybrechts, Yahoo! Inc., Alan Harder, CloudBees, Inc.,
* Yahoo!, Inc.
*
* Permission is hereby granted, free of charge, to any person... | ./CrossVul/dataset_final_sorted/CWE-269/java/good_3057_0 |
crossvul-java_data_good_3047_2 | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
*
* 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 l... | ./CrossVul/dataset_final_sorted/CWE-269/java/good_3047_2 |
crossvul-java_data_good_3047_0 | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Daniel Dyer, Tom Huybrechts, Yahoo!, Inc.
*
* 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 Sof... | ./CrossVul/dataset_final_sorted/CWE-269/java/good_3047_0 |
crossvul-java_data_good_3047_1 | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, CloudBees, Inc.
*
* 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, in... | ./CrossVul/dataset_final_sorted/CWE-269/java/good_3047_1 |
crossvul-java_data_bad_3047_0 | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Daniel Dyer, Tom Huybrechts, Yahoo!, Inc.
*
* 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 Sof... | ./CrossVul/dataset_final_sorted/CWE-269/java/bad_3047_0 |
crossvul-java_data_bad_3057_0 | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Erik Ramfelt, Koichi Fujikawa, Red Hat, Inc., Seiji Sogabe,
* Stephen Connolly, Tom Huybrechts, Yahoo! Inc., Alan Harder, CloudBees, Inc.,
* Yahoo!, Inc.
*
* Permission is hereby granted, free of charge, to any person... | ./CrossVul/dataset_final_sorted/CWE-269/java/bad_3057_0 |
crossvul-java_data_bad_1947_3 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_1947_3 |
crossvul-java_data_bad_4545_2 | /**
* 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-863/java/bad_4545_2 |
crossvul-java_data_good_1947_3 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_1947_3 |
crossvul-java_data_good_4545_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-863/java/good_4545_3 |
crossvul-java_data_bad_3865_0 | /*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014, 2016 Synacor, Inc.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Softw... | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_3865_0 |
crossvul-java_data_good_1947_1 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_1947_1 |
crossvul-java_data_good_1947_0 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_1947_0 |
crossvul-java_data_bad_4545_3 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_4545_3 |
crossvul-java_data_bad_4254_2 | package com.zrlog.service;
import com.hibegin.common.util.http.HttpUtil;
import com.hibegin.common.util.http.handle.HttpJsonArrayHandle;
import com.zrlog.common.Constants;
import com.zrlog.common.response.UploadFileResponse;
import org.apache.log4j.Logger;
import javax.servlet.http.HttpServletRequest;
import java.uti... | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_4254_2 |
crossvul-java_data_bad_1947_0 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_1947_0 |
crossvul-java_data_good_3865_0 | /*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014, 2016, 2020 Synacor, Inc.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_3865_0 |
crossvul-java_data_good_4254_0 | package com.zrlog.web.util;
import com.zrlog.common.vo.AdminTokenVO;
import com.zrlog.util.BlogBuildInfoUtil;
import com.zrlog.util.I18nUtil;
import com.zrlog.util.ZrLogUtil;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.Map;
public class PluginHelper {
public static M... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_4254_0 |
crossvul-java_data_good_4254_2 | package com.zrlog.service;
import com.hibegin.common.util.http.HttpUtil;
import com.hibegin.common.util.http.handle.HttpJsonArrayHandle;
import com.zrlog.common.Constants;
import com.zrlog.common.response.UploadFileResponse;
import com.zrlog.web.util.PluginHelper;
import org.apache.log4j.Logger;
import javax.servlet.... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_4254_2 |
crossvul-java_data_good_4545_2 | /**
* 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-863/java/good_4545_2 |
crossvul-java_data_bad_1947_2 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_1947_2 |
crossvul-java_data_bad_4254_0 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_4254_0 |
crossvul-java_data_bad_1947_4 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_1947_4 |
crossvul-java_data_good_1947_2 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_1947_2 |
crossvul-java_data_bad_4254_3 | package com.zrlog.web.handler;
import com.hibegin.common.util.IOUtil;
import com.hibegin.common.util.http.HttpUtil;
import com.hibegin.common.util.http.handle.CloseResponseHandle;
import com.jfinal.core.JFinal;
import com.jfinal.handler.Handler;
import com.zrlog.common.Constants;
import com.zrlog.common.vo.AdminTokenV... | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_4254_3 |
crossvul-java_data_good_1947_4 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_1947_4 |
crossvul-java_data_bad_1947_1 | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... | ./CrossVul/dataset_final_sorted/CWE-863/java/bad_1947_1 |
crossvul-java_data_bad_4545_1 | /**
* 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-863/java/bad_4545_1 |
crossvul-java_data_good_4254_3 | package com.zrlog.web.handler;
import com.hibegin.common.util.IOUtil;
import com.hibegin.common.util.http.HttpUtil;
import com.hibegin.common.util.http.handle.CloseResponseHandle;
import com.jfinal.core.JFinal;
import com.jfinal.handler.Handler;
import com.zrlog.common.Constants;
import com.zrlog.common.vo.AdminTokenV... | ./CrossVul/dataset_final_sorted/CWE-863/java/good_4254_3 |
crossvul-java_data_good_4545_1 | /**
* 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-863/java/good_4545_1 |
crossvul-java_data_good_4951_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 *
* r... | ./CrossVul/dataset_final_sorted/CWE-19/java/good_4951_1 |
crossvul-java_data_bad_4951_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 *
* r... | ./CrossVul/dataset_final_sorted/CWE-19/java/bad_4951_1 |
crossvul-java_data_good_4951_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 *
* r... | ./CrossVul/dataset_final_sorted/CWE-19/java/good_4951_0 |
crossvul-java_data_bad_4951_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 *
* r... | ./CrossVul/dataset_final_sorted/CWE-19/java/bad_4951_0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.