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(lib) prevent a segfault loading an empty .wat module with V8 #544

Merged
merged 2 commits into from
May 5, 2024

Conversation

thibaultcha
Copy link
Member

@thibaultcha thibaultcha commented May 5, 2024

Fix #543

Fixing it at the ngx-wasm-rs level produces a more descriptive error
message than doing it at the C level.

Fix #543
Copy link

codecov bot commented May 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.05848%. Comparing base (91d447f) to head (55b5481).

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##                main        #544   +/-   ##
=============================================
  Coverage   90.05848%   90.05848%           
=============================================
  Files             47          47           
  Lines          10089       10089           
=============================================
  Hits            9086        9086           
  Misses          1003        1003           
Flag Coverage Δ
unit 90.15117% <ø> (ø)
valgrind 78.01542% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@thibaultcha thibaultcha merged commit 8799cc9 into main May 5, 2024
35 checks passed
@thibaultcha thibaultcha deleted the fix/v8-empty-wat branch May 5, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

V8 coredump on ubuntu-latest in ngx-wasm-rs
1 participant