sassoftware / relic

Relic is a service and a tool for adding digital signatures to operating system packages for Linux and Windows
Apache License 2.0
151 stars 41 forks source link

return early if jar manifest has no sections #31

Closed AdamKorcz closed 1 year ago

AdamKorcz commented 1 year ago

If the manifest has no sections, Relic will crash with runtime error: makeslice: cap out of range when attempting to create the slice in the Order field.

This PR exits gracefully.