Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clusterer: Fix some startup corner-cases (crashes)
The first extra check fixes a crash in 'db_mode = 0', if only 'neighbor_node_info' is given, so cl->current_node will be NULL. The second extra check prevents: (gdb) bt full 0 check_seed_flag (cl_list=<optimized out>) at node_info.c:307 1 load_db_info (dr_dbf=dr_dbf@entry=0x7f2e65996300 <dr_dbf>, db_hdl=<optimized out>, db_table=db_table@entry=0x7f2e65993370 <db_table>, cl_list=<optimized out>) at node_info.c:485 2 mod_init () at clusterer_mod.c:408 Fixes #2086
- Loading branch information
1 parent
61e523a
commit 0b609f0
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters