chiark / gitweb /
integer and buffer overflows: introduce a number of asserts
[secnet.git] / secnet.h
index 2b913d9854802b9cd15135e45ebc0e039bc10d2d..3f32302bc272a699dc742b91f2232f327c1b7853 100644 (file)
--- a/secnet.h
+++ b/secnet.h
@@ -126,6 +126,7 @@ extern string_t dict_read_string(dict_t *dict, cstring_t key, bool_t required,
 extern uint32_t dict_read_number(dict_t *dict, cstring_t key, bool_t required,
                                 cstring_t desc, struct cloc loc,
                                 uint32_t def);
+  /* return value can safely be assigned to int32_t */
 extern bool_t dict_read_bool(dict_t *dict, cstring_t key, bool_t required,
                             cstring_t desc, struct cloc loc, bool_t def);
 struct flagstr {