lib/contrast/extension/assess/kernel.rb in contrast-agent-4.6.0 vs lib/contrast/extension/assess/kernel.rb in contrast-agent-4.7.0

- old
+ new

@@ -45,17 +45,11 @@ args = preshift.args[1] parent_events = [] track_sprintf(ret, format_string, args, parent_events) - properties.build_event( - patcher, - ret, - preshift.object, - ret, - preshift.args, - 1) + properties.build_event(patcher, ret, preshift.object, ret, preshift.args, 1) properties.event.instance_variable_set(:@_parent_events, parent_events) ret end @@ -68,11 +62,10 @@ handle_sprintf_hash(args, result, parent_events) when Array handle_sprintf_array(args, result, parent_events) end rescue StandardError => e - logger.error( - 'Unable to track dataflow through sprintf', e) + logger.error('Unable to track dataflow through sprintf', e) end def instrument_kernel_track @_instrument_fiber_variables ||= begin require 'cs__assess_kernel/cs__assess_kernel'