diff options
author | Deepak Bhole <[email protected]> | 2011-07-15 16:02:00 -0400 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2011-07-15 16:02:00 -0400 |
commit | 8cb2c53528494478cf3cdfd0d23d84bc7f04ab93 (patch) | |
tree | 428496c169b7d6c20ad00c6b416161bf1d98e12a /netx/net/sourceforge/jnlp/services/XFileContents.java | |
parent | dadfb2447d1764e39d7aafb8035e6dba00be7627 (diff) |
RH718170, CVE-2011-2514: Java Web Start security warning dialog manipulation
Diffstat (limited to 'netx/net/sourceforge/jnlp/services/XFileContents.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/services/XFileContents.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/services/XFileContents.java b/netx/net/sourceforge/jnlp/services/XFileContents.java index 5e8fed6..de1fe53 100644 --- a/netx/net/sourceforge/jnlp/services/XFileContents.java +++ b/netx/net/sourceforge/jnlp/services/XFileContents.java @@ -34,7 +34,8 @@ class XFileContents implements FileContents { * Create a file contents implementation for the file. */ protected XFileContents(File file) { - this.file = file; + // create a safe copy + this.file = new File(file.getPath()); } /** |