diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2011-01-03 14:09:07 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2011-01-03 14:09:07 -0500 |
commit | f58caae275b21503387150e10323b5d52a95d856 (patch) | |
tree | 8ed0faa7984126e110c4607ae622374c735335c5 /src/nis.c | |
parent | 39fb24ba0c8a4d498007fdcac90c883e279716ac (diff) | |
download | slapi-nis-f58caae275b21503387150e10323b5d52a95d856.tar.gz slapi-nis-f58caae275b21503387150e10323b5d52a95d856.tar.xz slapi-nis-f58caae275b21503387150e10323b5d52a95d856.zip |
- clear the whole reply structure before use instead of just the initial part (defect #10088)
Diffstat (limited to 'src/nis.c')
-rw-r--r-- | src/nis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -582,7 +582,7 @@ nis_all(struct plugin_state *state, for (stop = FALSE; stop == FALSE;) { bool_t found, skip; xdr_setpos(reply_xdrs, 0); - memset(reply_all, 0, sizeof(reply_all)); + memset(reply_all, 0, sizeof(*reply_all)); /* Follow any instructions we left for this iteration. */ switch (cookie->state) { |