[Devel] CVS commitlog: sip-server/modules/auth_db authorize.c
Dan Pascu
dan at ag-projects.com
Fri May 5 17:36:53 CEST 2006
User: dan_pascu
Date: 2006/05/05 08:36:53 PDT
OpenSER CVS - Commit Details
Modified files: (Branch: rel_1_0_0)
modules/auth_db authorize.c
Commit Log:
Properly handle integer columns in the subscriber table when generating the
AVPs specified by the auth_db/load_credentials module parameter.
This fixes crahses caused by invalid memory access when a non-string column
was specified to be loaded in load_credentials.
With this patch, string and integer table columns are properly handled and
will create an AVP with a string respectively an integer value depending
on the type of the column in the subscriber table that is loaded.
Other column types are currently not handled and will generate an error
message in the logs if used, however if need arises they can be handled by
converting them to a string and creating an AVP with a string value.
Revision Changes Path
1.3.2.3 +45 -21 sip-server/modules/auth_db/authorize.c
[ http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/auth_db/authorize.c?r1=1.3.2.2&r2=1.3.2.3 ]
More information about the Devel
mailing list