Skip to content

Fixes some segmentation faults#6

Open
anders-mjoll wants to merge 3 commits into
AkBKukU:masterfrom
Mjoll:segfault-fixes
Open

Fixes some segmentation faults#6
anders-mjoll wants to merge 3 commits into
AkBKukU:masterfrom
Mjoll:segfault-fixes

Conversation

@anders-mjoll
Copy link
Copy Markdown

A handful of small fixes:

  • Fix segmentation fault when no input files are provided
  • Fix segmentation fault when Braw SDK fails to initialize
  • Fix segmentation fault when the Braw SDK fails to read the file for some reason
  • Made sure to return non-zero exit code if anything goes wrong

Also made sure that braw-decode provide a non-zero exit code when
there are too many or too few input files in the command line
argument.
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.

1 participant