apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r555122 - /apr/apr-util/trunk/dbd/apr_dbd.c
Date Wed, 11 Jul 2007 00:10:01 GMT
Author: fuankg
Date: Tue Jul 10 17:10:00 2007
New Revision: 555122

URL: http://svn.apache.org/viewvc?view=rev&rev=555122
Log:
oups - the apr_snprintf() for the symbol should have kept.

Modified:
    apr/apr-util/trunk/dbd/apr_dbd.c

Modified: apr/apr-util/trunk/dbd/apr_dbd.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/dbd/apr_dbd.c?view=diff&rev=555122&r1=555121&r2=555122
==============================================================================
--- apr/apr-util/trunk/dbd/apr_dbd.c (original)
+++ apr/apr-util/trunk/dbd/apr_dbd.c Tue Jul 10 17:10:00 2007
@@ -162,7 +162,7 @@
     if (rv != APR_SUCCESS) { /* APR_EDSOOPEN */
         goto unlock;
     }
-    sprintf(path, "apr_dbd_%s_driver", name);
+    apr_snprintf(path, sizeof path, "apr_dbd_%s_driver", name);
     rv = apr_dso_sym(&symbol, dlhandle, path);
     if (rv != APR_SUCCESS) { /* APR_ESYMNOTFOUND */
         apr_dso_unload(dlhandle);



Mime
View raw message