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
Describe the bug, including details regarding any error messages, version, and platform.
When I read the code in executor.go, I found a maybe problem:
initially, output is a copy of prealloc. After some operation to output, the output may be different to prealloc, e.g. some slice header. (BufferSpan.Buf)
The code may pass the output to emitResult rather than the prealloc.
I'm not sure this is a real problem because I've no test case to produce the problem.
Component(s)
Go
The text was updated successfully, but these errors were encountered:
I think you might actually be correct here, it would be great if we could come up with a test case that exemplifies it first though before trying to put a fix in.
Describe the bug, including details regarding any error messages, version, and platform.
When I read the code in executor.go, I found a maybe problem:
initially, output is a copy of prealloc. After some operation to output, the output may be different to prealloc, e.g. some slice header. (BufferSpan.Buf)
The code may pass the output to emitResult rather than the prealloc.
I'm not sure this is a real problem because I've no test case to produce the problem.
Component(s)
Go
The text was updated successfully, but these errors were encountered: