Print this page
5679 be_sort_list(): Possible null pointer dereference

*** 24,33 **** --- 24,34 ---- */ /* * Copyright 2013 Nexenta Systems, Inc. All rights reserved. * Copyright 2015 Toomas Soome <tsoome@me.com> + * Copyright 2015 Gary Mills */ #ifndef _LIBBE_H #define _LIBBE_H
*** 238,248 **** */ int be_list(char *, be_node_list_t **); void be_free_list(be_node_list_t *); int be_max_avail(char *, uint64_t *); char *be_err_to_str(int); ! void be_sort(be_node_list_t **, int); /* * Library functions */ void libbe_print_errors(boolean_t); --- 239,249 ---- */ int be_list(char *, be_node_list_t **); void be_free_list(be_node_list_t *); int be_max_avail(char *, uint64_t *); char *be_err_to_str(int); ! int be_sort(be_node_list_t **, int); /* * Library functions */ void libbe_print_errors(boolean_t);