Opened 6 years ago

Closed 6 years ago

#1701 closed defect (done)

Object traversal hitting security sensitive fields can crash while sandboxed

Reported by: epitzer Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.6
Component: Common Version: 3.3.6
Keywords: Cc:

Description

System.Security.SecurityException was unhandled by user code
  Message=Request failed.
  Source=mscorlib
  StackTrace:
       at System.Reflection.RtFieldInfo.PerformVisibilityCheckOnField(IntPtr field, Object target, RuntimeType declaringType, FieldAttributes attr, UInt32 invocationFlags)
       at System.Reflection.RtFieldInfo.InternalGetValue(Object obj, Boolean doVisibilityCheck, Boolean doCheckConsistency)
       at System.Reflection.RtFieldInfo.GetValue(Object obj)
       at HeuristicLab.Common.ObjectExtensions.<GetChildObjects>d__0.MoveNext()
       at HeuristicLab.Common.ObjectExtensions.GetObjectGraphObjects(Object obj, Boolean excludeStaticMembers)
       at HeuristicLab.Optimization.Algorithm.OnStopped()
       at HeuristicLab.Optimization.EngineAlgorithm.Engine_Stopped(Object sender, EventArgs e)
       at HeuristicLab.Core.Executable.OnStopped()
       at HeuristicLab.Core.Engine.OnStopped()
       at HeuristicLab.Core.Engine.<Start>b__0(Task t)
       at System.Threading.Tasks.Task.<>c__DisplayClassb.<ContinueWith>b__a(Object obj)
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
  InnerException: 

Change History (5)

comment:1 Changed 6 years ago by epitzer

  • Owner changed from swagner to epitzer
  • Status changed from new to accepted

comment:2 Changed 6 years ago by epitzer

r7139 Catch SecurityExceptions while accessing fields during object graph traversal.

comment:3 Changed 6 years ago by epitzer

  • Owner changed from epitzer to abeham
  • Status changed from accepted to reviewing

comment:4 Changed 6 years ago by abeham

  • Status changed from reviewing to readytorelease

ok

comment:5 Changed 6 years ago by swagner

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3.5 to 3.3.6
Note: See TracTickets for help on using tickets.