Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add class filter entry for TraceInformation$IncompleteObjectInfo #90

Merged
merged 1 commit into from
Jan 22, 2019

Conversation

dwnusbaum
Copy link
Member

@dwnusbaum dwnusbaum commented Jan 22, 2019

A warning for this class came up recently in Evergreen error logs. I recall some discussion around this type (and one other, perhaps TraceInformation$IndexInfo?) in the past, but can not find any record of such a discussion. The IncompleteObjectInfo class looks harmless from a serialization/deserialization security perspective.

Maybe the reason we are seeing this now is that in some cases an error thrown as a result of the 2.x to 3.x upgrade uses this type in an error message, but other than that I think it could be used if the serialized file is corrupted or the implementations of serialization-related methods are incorrect (as in this reproduction). It doesn't seem valuable to me to try to reproduce the warning in a test here, but I would be happy to do so if reviewers think it would be useful.

I don't know if the warning really had any impact to end users, since as far as I can tell in my reproduction the only difference is that without the class filter entry, the exception is wrapped in hudson.remoting.ProxyException, but with the entry the underlying exception type is exposed.

Builds on #50.

@dwnusbaum dwnusbaum merged commit c019079 into jenkinsci:master Jan 22, 2019
@dwnusbaum dwnusbaum deleted the update-class-filter branch January 22, 2019 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants