projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17dfb31
)
fix wrong assertion. Found by PVS-Studio
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 17 May 2017 15:42:54 +0000
(11:42 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Fri, 19 May 2017 18:06:53 +0000
(14:06 -0400)
src/main/modules.c
patch
|
blob
|
history
diff --git
a/src/main/modules.c
b/src/main/modules.c
index
91218dd
..
34a7634
100644
(file)
--- a/
src/main/modules.c
+++ b/
src/main/modules.c
@@
-578,7
+578,7
@@
static int module_conf_parse(module_instance_t *node, void **handle)
*/
if (node->entry->module->inst_size) {
*handle = talloc_zero_array(node, uint8_t, node->entry->module->inst_size);
- rad_assert(handle);
+ rad_assert(
*
handle);
talloc_set_name(*handle, "rlm_%s_t",
node->entry->module->name ? node->entry->module->name : "config");