[Devel] CVS commitlog: sip-server/modules/postgres con_postgres.h dbase.c

Klaus Darilion klaus.mailinglists at pernau.at
Thu Aug 11 12:25:38 CEST 2005


User: klaus_darilion
Date: 2005/08/11 03:25:38 PDT

  OpenSER CVS - Commit Details

  Modified files:
    modules/postgres     con_postgres.h dbase.c 
  Commit Log:
  - replaced sprintf with snprintf to avoid buffer overflow when the SQL Error response is too long
  - fixed postgres reconnect (patch from Michael Ulitskiy)
  - ToDo: review the whole postgres module for more sprintf bugs
  
  Revision  Changes    Path
  1.2       +3 -1      sip-server/modules/postgres/con_postgres.h
   [ http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/postgres/con_postgres.h?r1=1.1&r2=1.2 ]
  1.3       +39 -28    sip-server/modules/postgres/dbase.c
   [ http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/postgres/dbase.c?r1=1.2&r2=1.3 ]



More information about the Devel mailing list