Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
bsh2.2065
bsh2-prevent-deserialization.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsh2-prevent-deserialization.patch of Package bsh2.2065
From 7c68fde2d6fc65e362f20863d868c112a90a9b49 Mon Sep 17 00:00:00 2001 From: Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk> Date: Wed, 3 Feb 2016 01:03:20 +0000 Subject: [PATCH] Prevent deserialization of Handler --- src/bsh/XThis.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bsh/XThis.java b/src/bsh/XThis.java index 6f68b43..f169fdc 100644 --- a/src/bsh/XThis.java +++ b/src/bsh/XThis.java @@ -118,6 +118,10 @@ public Object getInterface( Class [] ca ) */ class Handler implements InvocationHandler { + private Object readResolve() throws ObjectStreamException { + throw new NotSerializableException(); + } + public Object invoke( Object proxy, Method method, Object[] args ) throws Throwable {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor