Closed durgesh077 closed 1 year ago
whenever we use api https://dashboard.metacall.io/api/package/create
{ runners:[] jsons:[] id:testing type:application/zip :[{"language_id":"node", "path":".","scripts":["./func2.js"]}] }
as body (note: empty key name in json) we get segmentation fault and infinite loop and if we use
{ runners:[] jsons:[] id:testing type:application/zip }
i.e removed empty key name this doesn't have segmentation fault at least
it should either throw error or deploy successfully
deploys infinitely
test.zip.zip
Solved.
https://github.com/metacall/core/commit/90adf3ec7c3bad4f467185bcff85981ae45fa322
🐛 Bug Report
whenever we use api https://dashboard.metacall.io/api/package/create
as body (note: empty key name in json) we get segmentation fault and infinite loop and if we use
i.e removed empty key name this doesn't have segmentation fault at least
Expected Behavior
it should either throw error or deploy successfully
Current Behavior
deploys infinitely
Possible Solution
Steps to Reproduce