projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Bounds checking in CtdlDirectoryLookup()
[citadel.git]
/
citadel
/
msgbase.c
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 941af80b4701ee72df29d73e42543e9cabf94feb..a5035ce27644915ec79a25e61efc2b63c945d477 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-174,7
+174,7
@@
int alias(char *name)
fclose(fp);
/* Hit the Global Address Book */
- if (CtdlDirectoryLookup(aaa, name) == 0) {
+ if (CtdlDirectoryLookup(aaa, name
, sizeof aaa
) == 0) {
strcpy(name, aaa);
}