Skip to content

Commit

Permalink
correct return value
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Yang committed Feb 28, 2024
1 parent e66306e commit f592630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/fipstools/inject_hash/macho_parser/macho_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ uint8_t* get_macho_section_data(const char *filename, machofile *macho, const ch

uint32_t find_macho_symbol_index(uint8_t *symbol_table_data, size_t symbol_table_size, uint8_t *string_table_data, size_t string_table_size, const char *symbol_name, uint32_t *base) {
char* string_table = NULL;
int ret = 0;
uint32_t ret = 0;

if (symbol_table_data == NULL || string_table_data == NULL) {
LOG_ERROR("Symbol and string table pointers cannot be null to find the symbol index");
Expand Down

0 comments on commit f592630

Please sign in to comment.