Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gnovm): Fix panic when calling len()/cap() on pointer array #2709

Merged
merged 9 commits into from
Sep 13, 2024

handle nil array pointer

96a512c
Select commit
Loading
Failed to load commit list.
Merged

fix(gnovm): Fix panic when calling len()/cap() on pointer array #2709

handle nil array pointer
96a512c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Aug 20, 2024 in 0s

68.18% of diff hit (target 60.15%)

View this Pull Request on Codecov

68.18% of diff hit (target 60.15%)

Annotations

Check warning on line 2139 in gnovm/pkg/gnolang/values.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values.go#L2139

Added line #L2139 was not covered by tests

Check warning on line 2161 in gnovm/pkg/gnolang/values.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values.go#L2161

Added line #L2161 was not covered by tests

Check warning on line 2173 in gnovm/pkg/gnolang/values.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values.go#L2173

Added line #L2173 was not covered by tests

Check warning on line 2182 in gnovm/pkg/gnolang/values.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values.go#L2180-L2182

Added lines #L2180 - L2182 were not covered by tests

Check warning on line 2198 in gnovm/pkg/gnolang/values.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/pkg/gnolang/values.go#L2198

Added line #L2198 was not covered by tests