git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
rxgen: Fix NULL pointer dereference
[openafs.git]
/
src
/
rxgen
/
rpc_parse.c
diff --git
a/src/rxgen/rpc_parse.c
b/src/rxgen/rpc_parse.c
index
f39d8b5
..
c8b94ca
100644
(file)
--- a/
src/rxgen/rpc_parse.c
+++ b/
src/rxgen/rpc_parse.c
@@
-1413,7
+1413,8
@@
ss_ProcParams_setup(definition * defp)
}
f_print(fout, "\t%s %s", plist->pl.param_type,
plist->pl.param_name);
- *pntr = pres;
+ if (pntr)
+ *pntr = pres;
} else if (strchr(plist->pl.param_type, '*') == 0) {
f_print(fout, "\t%s %s", plist->pl.param_type,
plist->pl.param_name);