mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-25 04:47:53 +00:00
6990370: FindBugs scan - Malicious code vulnerability Warnings in com.sun.jndi.ldap.*
Reviewed-by: xuelei
This commit is contained in:
parent
e9ba5a8f34
commit
aaf74fa919
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -113,6 +113,6 @@ public class BasicControl implements Control {
|
||||
* ASN.1 BER encoded value.
|
||||
*/
|
||||
public byte[] getEncodedValue() {
|
||||
return value;
|
||||
return value == null ? null : value.clone();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user