diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2006-08-02 20:29:59 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2006-08-02 20:29:59 -0400 |
commit | 96e45626c43b7674b66e0258b0b1730d5ce71357 (patch) | |
tree | 9cd058f880096974f5e367f7188a3186e5d76912 /dix/extension.c | |
parent | 3c23dec5962b8b81ae838fe0ee2c7b0a789f5386 (diff) |
Rebase Security extension to use devPrivates for storing security state.
Diffstat (limited to 'dix/extension.c')
-rw-r--r-- | dix/extension.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dix/extension.c b/dix/extension.c index 40e1373b6..46b7e14b4 100644 --- a/dix/extension.c +++ b/dix/extension.c @@ -131,6 +131,7 @@ AddExtension(char *name, int NumEvents, int NumErrors, ext = (ExtensionEntry *) xalloc(totalExtensionSize); if (!ext || !InitExtensionPrivates(ext)) return((ExtensionEntry *) NULL); + bzero(ext, totalExtensionSize); ext->name = (char *)xalloc(strlen(name) + 1); ext->num_aliases = 0; ext->aliases = (char **)NULL; @@ -180,9 +181,6 @@ AddExtension(char *name, int NumEvents, int NumErrors, ext->errorBase = 0; ext->errorLast = 0; } -#ifdef XACE - XACE_STATE_INIT(ext->securityState); -#endif return(ext); } |