CVS log entries from 21.08.2005 (Sun) 08:00:01 - 22.08.2005 (Mon) 08:00:01 GMT ===================================================== Summary by authors ===================================================== Author: nbk File: radiusd/src/main/xlat.c; Revisions: 1.100, 1.99, 1.72.2.5, 1.72.2.4 File: radiusd/src/modules/rlm_sql/drivers/rlm_sql_postgresql/db_postgresql.sql; Revisions: 1.22, 1.16.2.3 File: radiusd/src/modules/rlm_sqlcounter/rlm_sqlcounter.c; Revisions: 1.17, 1.11.2.1 ===================================================== Log entries ===================================================== Description: ctime_r(3) always use 26 characters, and may write beyond the buffer boundary. Bug found by Primoz Bratanic <primoz@slo-tech.com> Modified files: File: radiusd/src/main/xlat.c; Revision: 1.100; Date: 2005/08/21 19:44:53; Author: nbk; Lines: (+8 -9) ------------------------------- Description: Fix an off-by-one error in xlat_copy(). Bug found by Primoz Bratanic <primoz@slo-tech.com> Modified files: File: radiusd/src/main/xlat.c; Revision: 1.99; Date: 2005/08/21 18:12:28; Author: nbk; Lines: (+9 -16) ------------------------------- Description: Pull from CVS head: Steal patches about ctime_r(3). Modified files: File: radiusd/src/main/xlat.c; Revision: 1.72.2.5; Date: 2005/08/21 19:45:04; Author: nbk; Lines: (+7 -3) ------------------------------- Description: Pull from CVS head: Fix an off-by-one error in xlat_copy(). Modified files: File: radiusd/src/main/xlat.c; Revision: 1.72.2.4; Date: 2005/08/21 18:12:42; Author: nbk; Lines: (+9 -16) ------------------------------- Description: Comply with RFC2865 where username and password are strings up to 253 characters. We don't need that many in our own users tables (radcheck, radreply, ...), but we do need this in radacct and radpostauth because we don't know the maximum length of our roaming partners. (closes #266) Thanks to Thor Spruyt for the patch. Modified files: File: radiusd/src/modules/rlm_sql/drivers/rlm_sql_postgresql/db_postgresql.sql; Revision: 1.22; Date: 2005/08/21 09:41:27; Author: nbk; Lines: (+4 -4) ------------------------------- Description: Pull from CVS head: Increase radacct and radpostauth field lengths. Modified files: File: radiusd/src/modules/rlm_sql/drivers/rlm_sql_postgresql/db_postgresql.sql; Revision: 1.16.2.3; Date: 2005/08/21 09:41:44; Author: nbk; Lines: (+4 -4) ------------------------------- Description: Replace sprintf(3) by snprintf(3) because they can overflow the buffer space at lines 347 and 546. Bug found by Primoz Bratanic <primoz@slo-tech.com> Modified files: File: radiusd/src/modules/rlm_sqlcounter/rlm_sqlcounter.c; Revision: 1.17; Date: 2005/08/21 20:04:18; Author: nbk; Lines: (+8 -8) ------------------------------- Description: Pull from CVS head: Replace sprintf(3) by snprintf(3) to prevent buffer overflows. Modified files: File: radiusd/src/modules/rlm_sqlcounter/rlm_sqlcounter.c; Revision: 1.11.2.1; Date: 2005/08/21 20:04:26; Author: nbk; Lines: (+8 -8) ===================================================== Summary of modified files ===================================================== File: radiusd/src/main/xlat.c Revisions: 1.100, 1.99, 1.72.2.5, 1.72.2.4 Authors: nbk (+8 -9), nbk (+9 -16), nbk (+7 -3), nbk (+9 -16) ------------------------------- File: radiusd/src/modules/rlm_sql/drivers/rlm_sql_postgresql/db_postgresql.sql Revisions: 1.22, 1.16.2.3 Authors: nbk (+4 -4), nbk (+4 -4) ------------------------------- File: radiusd/src/modules/rlm_sqlcounter/rlm_sqlcounter.c Revisions: 1.17, 1.11.2.1 Authors: nbk (+8 -8), nbk (+8 -8) -- Automatic cron job from /web/pages/us.freeradius.org/bin/new_makelog.pl