projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9248b90
)
Catch NULL ptr
author
aland
<aland>
Fri, 4 Nov 2005 19:21:23 +0000
(19:21 +0000)
committer
aland
<aland>
Fri, 4 Nov 2005 19:21:23 +0000
(19:21 +0000)
src/main/xlat.c
patch
|
blob
|
history
diff --git
a/src/main/xlat.c
b/src/main/xlat.c
index
dbe35f5
..
a90b9a4
100644
(file)
--- a/
src/main/xlat.c
+++ b/
src/main/xlat.c
@@
-529,6
+529,8
@@
void xlat_unregister(const char *module, RAD_XLAT_FUNC func)
func = func; /* -Wunused */
+ if (!module) return;
+
strNcpy(my_xlat.module, module, sizeof(my_xlat.module));
my_xlat.length = strlen(my_xlat.module);