[Devel] CVS commitlog: sip-server/modules/auth_db authorize.c

Dan Pascu dan at ag-projects.com
Fri May 5 17:37:54 CEST 2006

User: dan_pascu
Date: 2006/05/05 08:37:54 PDT

  OpenSER CVS - Commit Details

  Modified files:
    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.
  (patch ported from the stable branch)
  Revision  Changes    Path
  1.8       +46 -22    sip-server/modules/auth_db/authorize.c
   [ http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/auth_db/authorize.c?r1=1.7&r2=1.8 ]

More information about the Devel mailing list