aland [Sat, 7 Apr 2007 22:34:55 +0000 (22:34 +0000)]
One-liner to quiet Coverity
This fixes Coverity bug #11
aland [Sat, 7 Apr 2007 22:32:37 +0000 (22:32 +0000)]
Should use (sizeof(array)/sizeof(array[0]) for looping over
the entries
This fixes Coverity bug #12
aland [Sat, 7 Apr 2007 22:28:17 +0000 (22:28 +0000)]
On continuation, die if the buffer is nearing full.
This fixes Coverity bug #13
aland [Sat, 7 Apr 2007 22:22:51 +0000 (22:22 +0000)]
call fclose() on error.
This fixes Coverity bug #15
aland [Sat, 7 Apr 2007 22:20:30 +0000 (22:20 +0000)]
free(c) on parse error
This fixes Coverity bug #17
aland [Sat, 7 Apr 2007 22:18:34 +0000 (22:18 +0000)]
free handler on OOM.
This fixes Coverity bug #22
aland [Sat, 7 Apr 2007 22:16:39 +0000 (22:16 +0000)]
free(inst) on OOM
This fixes Coverity bug #23
aland [Sat, 7 Apr 2007 22:14:51 +0000 (22:14 +0000)]
On failed open, free memory.
This fixs Coverity bug #24
aland [Sat, 7 Apr 2007 22:12:16 +0000 (22:12 +0000)]
free strdup'd memory on error.
This fixes Coverity bug #25
aland [Sat, 7 Apr 2007 22:06:08 +0000 (22:06 +0000)]
free(c) on error.
This fixes Coverity bug #26
aland [Sat, 7 Apr 2007 22:04:08 +0000 (22:04 +0000)]
free(c) on error.
This fixes Coverity bug #27
aland [Sat, 7 Apr 2007 22:01:10 +0000 (22:01 +0000)]
free(this) on error.
This fixes Coverity bug #28
aland [Sat, 7 Apr 2007 21:59:18 +0000 (21:59 +0000)]
If we've run out of memory, free(challenge), too.
Just to be pedantic.
This fixes Coverity bug #29
aland [Sat, 7 Apr 2007 21:49:32 +0000 (21:49 +0000)]
free(vp) on decoding error.
This fixes Coverity bug #32
aland [Sat, 7 Apr 2007 21:46:36 +0000 (21:46 +0000)]
free(newhash) on error.
This fixes Coverity bug #33
aland [Sat, 7 Apr 2007 21:41:38 +0000 (21:41 +0000)]
dict_init() && my_dict_init() require a non-NULL 'dir'.
This fixes Coverity bug #34
aland [Sat, 7 Apr 2007 21:35:44 +0000 (21:35 +0000)]
sql_poolfree dereferences inst->config, too. Move it to inside
the section that checks for inst->config.
This fixes Coverity bug #37
aland [Sat, 7 Apr 2007 21:32:11 +0000 (21:32 +0000)]
Move free of xlat_name into section that checks for inst->config
This fixes Coverity bug #38
aland [Sat, 7 Apr 2007 21:30:01 +0000 (21:30 +0000)]
Free dval on error reading the dictionary files, or on OOM.
This fixes Coverity bug #40
aland [Sat, 7 Apr 2007 21:27:19 +0000 (21:27 +0000)]
prev_eap_ds might be NULL. Check it, too.
Fixes Coverity bug #41
aland [Sat, 7 Apr 2007 14:54:14 +0000 (14:54 +0000)]
file dictionary.rfc4675 was added on branch branch_1_1 on 2007-04-08 06:34:10 +0000
aland [Sat, 7 Apr 2007 14:47:34 +0000 (14:47 +0000)]
file dictionary.rfc4372 was added on branch branch_1_1 on 2007-04-08 06:34:10 +0000
nbk [Thu, 5 Apr 2007 10:16:30 +0000 (10:16 +0000)]
Regenerate from configure.in.
nbk [Wed, 4 Apr 2007 09:23:57 +0000 (09:23 +0000)]
Add support for "./configure --without-docdir" which cancels
doc files installation instead of raising an error. This is
useful for the downstream distributions of FreeRADIUS.
nbk [Fri, 30 Mar 2007 13:47:05 +0000 (13:47 +0000)]
otppasswd.sample is no longer used.
aland [Mon, 26 Mar 2007 12:58:16 +0000 (12:58 +0000)]
Update version number
aland [Mon, 26 Mar 2007 09:46:28 +0000 (09:46 +0000)]
corrected typo
aland [Mon, 26 Mar 2007 09:45:04 +0000 (09:45 +0000)]
close socket only if it's unconnected
nbk [Sun, 25 Mar 2007 21:44:00 +0000 (21:44 +0000)]
Compile the file sql_fbapi.c, too.
nbk [Wed, 21 Mar 2007 13:02:59 +0000 (13:02 +0000)]
The libpq manpage says the PGconn pointer should not be used
after PQfinish() has been called.
Bug found by Alexander V. Klepikov <klepikov_a@up.ua>
nbk [Mon, 19 Mar 2007 16:41:29 +0000 (16:41 +0000)]
Add libtool-ltdl-devel as a prerequisite for building.
aland [Fri, 16 Mar 2007 13:22:03 +0000 (13:22 +0000)]
Use braces. This closes #429
aland [Wed, 14 Mar 2007 13:59:30 +0000 (13:59 +0000)]
Hmm.. why was this patch added?
aland [Mon, 12 Mar 2007 12:28:38 +0000 (12:28 +0000)]
port fix from cvs head
nbk [Fri, 9 Mar 2007 13:34:37 +0000 (13:34 +0000)]
Newer version of rlm_sql_firebird, as posted to the list
by Vitaly Bodzhgua <vitaly@eastera.net>
nbk [Tue, 6 Mar 2007 23:30:33 +0000 (23:30 +0000)]
Update version number for 1.1.5 release.
aland [Mon, 5 Mar 2007 15:31:33 +0000 (15:31 +0000)]
More updates
aland [Mon, 5 Mar 2007 15:29:47 +0000 (15:29 +0000)]
In preparation for 1.1.5
aland [Mon, 5 Mar 2007 14:58:33 +0000 (14:58 +0000)]
This would be useful
aland [Mon, 5 Mar 2007 14:43:31 +0000 (14:43 +0000)]
Don't de-reference packet->vps if there's no packet.
Mostly a theoretical bug, as this is already checked elsewhere
Bug found by Coverity
aland [Mon, 5 Mar 2007 14:38:49 +0000 (14:38 +0000)]
Free packet on successful return, too.
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:34:55 +0000 (14:34 +0000)]
Free packet if the contents are badly formatted. This looks like
it only affects radeapclient.
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:30:04 +0000 (14:30 +0000)]
Free resources when using Exec-Program && Exec-Program-Wait
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:27:47 +0000 (14:27 +0000)]
Free clients on error. Mostly a theoretical bug, as the server
is exiting anyways...
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:26:11 +0000 (14:26 +0000)]
Free packet on error.
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:24:21 +0000 (14:24 +0000)]
Free packet if there was an allocation problem.
Mostly a theoretical bug
Bug found by Coverity
aland [Mon, 5 Mar 2007 14:22:04 +0000 (14:22 +0000)]
Catch a corner case where use of Exec-Program and Exec-Program-Wait
could cause memory leaks.
Bug found by Coverity
aland [Mon, 5 Mar 2007 14:20:38 +0000 (14:20 +0000)]
Don't allow escapes (\\) if the input buffer is full
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:15:32 +0000 (14:15 +0000)]
Turned an assert into a run-time check, as it can happen
pnixon [Mon, 5 Mar 2007 14:15:28 +0000 (14:15 +0000)]
rewrite, using latest python C api thanks to Paul P Komkoff Jr
aland [Mon, 5 Mar 2007 14:11:55 +0000 (14:11 +0000)]
prev_eap_ds may be NULL. Don't dereference it.
Bug found by Coverity
aland [Mon, 5 Mar 2007 14:09:10 +0000 (14:09 +0000)]
"randvp", not "rand".
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:06:41 +0000 (14:06 +0000)]
updated version to 1.1.5, and re-generated configure
aland [Mon, 5 Mar 2007 13:13:43 +0000 (13:13 +0000)]
Read for 1.1.5, I think
aland [Mon, 5 Mar 2007 13:12:58 +0000 (13:12 +0000)]
We're at 1.1.5
aland [Mon, 5 Mar 2007 13:12:29 +0000 (13:12 +0000)]
Fix base64 decoding
aland [Thu, 1 Mar 2007 13:38:18 +0000 (13:38 +0000)]
latest updates
aland [Thu, 1 Mar 2007 13:37:49 +0000 (13:37 +0000)]
Don't retransmit accounting packets. The NAS should do this.
pnixon [Tue, 27 Feb 2007 11:30:24 +0000 (11:30 +0000)]
add rlm_sqlhpwippool from cvs head
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file sqlhpwippool.sql was added on branch branch_1_1 on 2007-02-27 11:30:27 +0000
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file rlm_sqlhpwippool.c was added on branch branch_1_1 on 2007-02-27 11:30:26 +0000
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file configure.in was added on branch branch_1_1 on 2007-02-27 11:30:26 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file configure was added on branch branch_1_1 on 2007-02-27 11:30:25 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file config.h.in was added on branch branch_1_1 on 2007-02-27 11:30:24 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file Makefile.in was added on branch branch_1_1 on 2007-02-27 11:30:24 +0000
nbk [Sun, 25 Feb 2007 14:39:55 +0000 (14:39 +0000)]
Fix a typo in log message.
Thanks to Pawel Foremski <pjf@asn.pl>
pnixon [Sat, 24 Feb 2007 18:31:43 +0000 (18:31 +0000)]
Add additional attributes from voy.com/41165/3969.html
aland [Fri, 23 Feb 2007 10:07:48 +0000 (10:07 +0000)]
If we find Cleartext-Password but not User-Password, copy
Cleartext-Password to User-Password just to be nice
aland [Fri, 23 Feb 2007 10:06:48 +0000 (10:06 +0000)]
type.data is malloc'd by everyone BUT radeapclient, which
instead sets it to vp->strvalue. Fix it.
aland [Wed, 21 Feb 2007 11:09:04 +0000 (11:09 +0000)]
Cleaned up sample entries to remove most uses of Auth-Type,
and replace User-Password with Cleartext-Password
pnixon [Sat, 17 Feb 2007 08:08:37 +0000 (08:08 +0000)]
Update for 1.1.5 release
aland [Fri, 16 Feb 2007 09:31:34 +0000 (09:31 +0000)]
When we have a tunneled MS-CHAP2-Success attribute, it goes
into an Access-Challenge, so for "use_tunneled_reply" to work,
we have to remember the reply, and later grab it when sending
the final EAP-Success
aland [Thu, 15 Feb 2007 12:51:37 +0000 (12:51 +0000)]
Handle Client-Error code. If the client sends us one, we stop
talking EAP-SIM.
This closes #419
aland [Wed, 14 Feb 2007 15:44:22 +0000 (15:44 +0000)]
Port OpenSSL locking mutexes from the CVS head
aland [Tue, 13 Feb 2007 13:35:11 +0000 (13:35 +0000)]
Note recent changes
aland [Tue, 13 Feb 2007 13:31:38 +0000 (13:31 +0000)]
Permissions are now 750 for directories, and 644 for files
aland [Tue, 13 Feb 2007 13:28:39 +0000 (13:28 +0000)]
Pull fixes from the head
aland [Tue, 13 Feb 2007 09:37:12 +0000 (09:37 +0000)]
Port Status-Server requirements for Message-Authenticator
from CVS head
aland [Tue, 13 Feb 2007 08:47:50 +0000 (08:47 +0000)]
Free all REQUEST's on exit
aland [Mon, 12 Feb 2007 16:01:10 +0000 (16:01 +0000)]
Pull 1.7 -> 1.8 patch from CVS head
aland [Mon, 12 Feb 2007 09:59:05 +0000 (09:59 +0000)]
Added 'base' and 'variables' to a CONF_SECTION, which are added
by cf_section_parse. Now, when someone calls cf_section_free(),
the strings allocated from cf_section_parse() are automatically
free'd, too.
For now, we only do this for the base variables in mainconfig.
If we enable this for all of the modules, we first have to
update all of the modules to NOT explicitely call free() on
the strings allocated by cf_section_parse().
aland [Mon, 12 Feb 2007 09:55:24 +0000 (09:55 +0000)]
Added undocumented '-m' so that for debugging, CTRL-C does
a clean exit && clears up memory
aland [Mon, 12 Feb 2007 09:22:23 +0000 (09:22 +0000)]
free another tree
aland [Fri, 9 Feb 2007 15:56:11 +0000 (15:56 +0000)]
Be more aggressive about freeing memory on clean exit.
This should help track down memory leaks, if any
aland [Fri, 9 Feb 2007 15:42:03 +0000 (15:42 +0000)]
Free memory on detach
aland [Fri, 9 Feb 2007 15:33:21 +0000 (15:33 +0000)]
Free more stuff on exit
aland [Fri, 9 Feb 2007 15:33:11 +0000 (15:33 +0000)]
Define dict_free
aland [Fri, 9 Feb 2007 15:32:24 +0000 (15:32 +0000)]
When a duplicate attribute is found, delete the old one
aland [Fri, 9 Feb 2007 15:06:01 +0000 (15:06 +0000)]
Fix lrad_hash_table_free()
aland [Fri, 9 Feb 2007 13:01:40 +0000 (13:01 +0000)]
Don't allow radius_dir to be globally writable
Relax the checks on global readability
aland [Fri, 9 Feb 2007 10:51:46 +0000 (10:51 +0000)]
Added new attributes from bug #417
aland [Fri, 9 Feb 2007 10:43:52 +0000 (10:43 +0000)]
increase size of buffer to allow longer SQL qeuries
Thise closes bug #405
aland [Fri, 9 Feb 2007 10:39:11 +0000 (10:39 +0000)]
use correct lineno
We could really use a cf_item_lineo()
aland [Fri, 9 Feb 2007 10:27:57 +0000 (10:27 +0000)]
Cleaned up exec stuff, to make it more like the CVS head,
and to fix other errors (sigh)
aland [Thu, 8 Feb 2007 14:05:52 +0000 (14:05 +0000)]
If a packet is too long, truncate at the last good attribute
aland [Thu, 8 Feb 2007 10:24:35 +0000 (10:24 +0000)]
Don't leave 'vp' pointing to a deleted attribute
pnixon [Sun, 4 Feb 2007 15:28:46 +0000 (15:28 +0000)]
Apply SUSE's edir.patch to explicitly set edir_account_policy_check=no. Wont affect no edir users and saves a patch for SUSE
pnixon [Sun, 4 Feb 2007 15:10:11 +0000 (15:10 +0000)]
Applied radiusd-pamd.diff. thanks to SUSE
pnixon [Sun, 4 Feb 2007 14:39:50 +0000 (14:39 +0000)]
Add -pie patch thanks to SUSE
aland [Tue, 30 Jan 2007 13:11:54 +0000 (13:11 +0000)]
Updated for latest changes