You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If evtRender returns an ErrorInsufficientBuffer error it returns a nil pointer for bufferUsed rather than a pointer to bufferUsed.
If the call to evtRender returns an ErrorInsufficientBuffer error in RenderSimple it needs to read the value of the returned bufferUsed in order to resize the buffer.
Steps to Reproduce
Have a windows log message larger than the default buffer size of 16 KiB. This is rare and likely why it doesn't occur very often.
Collector version
v0.66.0
Environment information
Environment
OS: Windows Server 2022
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
A pointer to bufferUsed should be returned in the case that evtRender has an ErrorInsufficientBuffer error.
The text was updated successfully, but these errors were encountered:
Component(s)
receiver/windowseventlog
What happened?
Description
If evtRender returns an
ErrorInsufficientBuffer
error it returns a nil pointer forbufferUsed
rather than a pointer tobufferUsed
.If the call to
evtRender
returns anErrorInsufficientBuffer
error in RenderSimple it needs to read the value of the returnedbufferUsed
in order to resize the buffer.Steps to Reproduce
Have a windows log message larger than the default buffer size of 16 KiB. This is rare and likely why it doesn't occur very often.
Collector version
v0.66.0
Environment information
Environment
OS: Windows Server 2022
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
A pointer to
bufferUsed
should be returned in the case thatevtRender
has anErrorInsufficientBuffer
error.The text was updated successfully, but these errors were encountered: