newrelic / go-agent

New Relic Go Agent
Apache License 2.0
764 stars 294 forks source link

corrections to recent securityagent updates #759

Closed nr-swilloughby closed 1 year ago

nr-swilloughby commented 1 year ago

This is a couple of small fixes, one puts securityagent access behind a check that the agent is present to avoid unnecessary work. The other prevents a null pointer reference.