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

@@ -24,10 +24,11 @@
  */
 
 /*
  * 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,11 +239,11 @@
  */
 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);
+int be_sort(be_node_list_t **, int);
 
 /*
  * Library functions
  */
 void libbe_print_errors(boolean_t);