diff options
| author | Walter de Jong <walter@heiho.net> | 2013-03-22 22:54:00 +0100 |
|---|---|---|
| committer | Walter de Jong <walter@heiho.net> | 2013-03-22 22:54:00 +0100 |
| commit | e1bc8e8314544a5affcad33d132352bd8d3d69f2 (patch) | |
| tree | c6abcf054194b2300976fd82fa2578fcc91e7be1 | |
| parent | 09e617195b1015ade429a713f96129ec63352e06 (diff) | |
| download | pam_tacplus-e1bc8e8314544a5affcad33d132352bd8d3d69f2.tar.gz pam_tacplus-e1bc8e8314544a5affcad33d132352bd8d3d69f2.zip | |
added two FIXME remarks
| -rw-r--r-- | support.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -44,6 +44,9 @@ char *tac_prompt = NULL; extern char *tac_login; extern int tac_timeout; +/* + FIXME using xcalloc() leaks memory for long-running programs that authenticate multiple times +*/ #ifndef xcalloc void *_xcalloc (size_t size) { register void *val = calloc (1, size); @@ -280,6 +283,9 @@ int _pam_parse (int argc, const char **argv) { } if (tac_srv_key_no == 0) { + /* FIXME this should really be NULL + but watch out with breaking other code + */ tac_srv_key[0] = ""; tac_srv_key_no++; } |
