1
0
mirror of synced 2024-12-03 19:57:20 +01:00
ImHex/lib/libimhex/source
Ada cc97c0e525
fix: Segfault when launching ImHex with file arguments (#1501)
d511080814 introduced a regression where
running imhex with arguments (i.e. `imhex blob1.bin blob2.bin`) will
segfault due to a null pointer dereference.

### Implementation description
This patch updates `getSubCommands` to follow the same control flow as
`getFeatures`, where if the function returns a null pointer, it will
return gracefully rather than crash.
2024-01-18 11:11:06 +01:00
..
api fix: Segfault when launching ImHex with file arguments (#1501) 2024-01-18 11:11:06 +01:00
data_processor refactor: Get rid of this->m_ 2023-12-19 13:10:25 +01:00
helpers impr: Fallback to old thread name API when new one isn't available 2024-01-09 13:43:34 +01:00
providers fix: Provider not having any valid regions by default 2023-12-27 11:31:25 +01:00
subcommands refactor: Better interface for the event system 2023-12-08 10:29:44 +01:00
ui impr: Added icons to all menu items 2024-01-08 21:51:48 +01:00