cooljeanius / osxbom

A reimplementation of lsbom
https://cauldrondevelopment.com/svn/osxbom/trunk/
Other
30 stars 3 forks source link

fix crash when called on a non-existing file #1

Closed cooljeanius closed 5 months ago

cooljeanius commented 6 years ago

I forget what the actual crash was that originally made me add this to the TODO, but apparently it happened?

cooljeanius commented 5 months ago

@kencu appears to have rediscovered this in macports/macports-ports#21227 perhaps? I think I might just need to check to ensure that argv is nonnull before using it?

cooljeanius commented 5 months ago

OK this ought to be fixed by 4ede21a; @kencu can you confirm?

kencu commented 5 months ago

yes, that works nicely

cooljeanius commented 5 months ago

yes, that works nicely

OK thanks, I'll bump the version and then push a new release.