diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2013-10-09 20:36:06 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2013-10-09 20:36:06 +0000 |
commit | f78b1b9ba06ffbbdecee2801917443f79011f134 (patch) | |
tree | fc3ef7699ec2d5dff96245bc6d90117d597fb678 /java/openjdk6/files/icedtea/security/20130201/6563318.patch | |
parent | Bump PORTREVISION after plist change (diff) |
Update to Build b28.
Diffstat (limited to 'java/openjdk6/files/icedtea/security/20130201/6563318.patch')
-rw-r--r-- | java/openjdk6/files/icedtea/security/20130201/6563318.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/java/openjdk6/files/icedtea/security/20130201/6563318.patch b/java/openjdk6/files/icedtea/security/20130201/6563318.patch deleted file mode 100644 index 8935ed6666c8..000000000000 --- a/java/openjdk6/files/icedtea/security/20130201/6563318.patch +++ /dev/null @@ -1,36 +0,0 @@ -# HG changeset patch -# User coffeys -# Date 1355323250 0 -# Node ID 0da6d4cbcc77b3326756b52e6086b1262d52c214 -# Parent 042882b32f75d0e736c19f93688d37fb98d7d26d -6563318: RMI data sanitization -Reviewed-by: dmocek - -diff --git a/src/share/classes/sun/rmi/transport/proxy/CGIHandler.java b/src/share/classes/sun/rmi/transport/proxy/CGIHandler.java ---- jdk/src/share/classes/sun/rmi/transport/proxy/CGIHandler.java -+++ jdk/src/share/classes/sun/rmi/transport/proxy/CGIHandler.java -@@ -1,5 +1,5 @@ - /* -- * Copyright (c) 1996, 1998, Oracle and/or its affiliates. All rights reserved. -+ * Copyright (c) 1996, 2012, 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 -@@ -150,7 +150,7 @@ public final class CGIHandler { - returnServerError(e.getMessage()); - } - else -- returnClientError("invalid command: " + command); -+ returnClientError("Invalid command."); - } catch (Exception e) { - returnServerError("internal error: " + e.getMessage()); - } -@@ -217,7 +217,7 @@ final class CGIForwardCommand implements - try { - port = Integer.parseInt(param); - } catch (NumberFormatException e) { -- throw new CGIClientException("invalid port number: " + param); -+ throw new CGIClientException("invalid port number."); - } - if (port <= 0 || port > 0xFFFF) - throw new CGIClientException("invalid port: " + port); |