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
its not clear to me why that is considered wrong. It could be that we don't subtract one from it somewhere when accessing the chunk. Or it could be we access the wrong block. Is there some repro steps of a panic you can provide me.
Describe the bug
With the changes introduced with #1346, I think this code is no longer correct:
https://github.com/mondoohq/cnquery/blob/main/llx/code.go#L104-L107
This is how the values look like when called for some
sshd.config
fields:When the binding/ref is directly passed to
Chunk()
it results in a index out of range panic.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The func should return a chunk and not panic.
The text was updated successfully, but these errors were encountered: