[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] cvs: pecl /oauth oauth.c
From: "Felipe Pena" <felipe () php ! net>
Date: 2008-11-29 0:47:07
Message-ID: cvsfelipe1227919627 () cvsserver
[Download RAW message or body]
felipe Sat Nov 29 00:47:07 2008 UTC
Modified files:
/pecl/oauth oauth.c
Log:
- Fixed memleak and segfault in oauth_urlencode()
http://cvs.php.net/viewvc.cgi/pecl/oauth/oauth.c?r1=1.9&r2=1.10&diff_format=u
Index: pecl/oauth/oauth.c
diff -u pecl/oauth/oauth.c:1.9 pecl/oauth/oauth.c:1.10
--- pecl/oauth/oauth.c:1.9 Fri Nov 28 01:49:32 2008
+++ pecl/oauth/oauth.c Sat Nov 29 00:47:07 2008
@@ -6,7 +6,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oauth.c,v 1.9 2008/11/28 01:49:32 felipe Exp $ */
+/* $Id: oauth.c,v 1.10 2008/11/29 00:47:07 felipe Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -489,10 +489,10 @@
}
if(uri_len < 1) {
- soo_handle_error(OAUTH_ERR_INTERNAL_ERROR,"invalid uri length (0)",NULL \
TSRMLS_CC); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid uri length \
(0)"); RETURN_NULL();
}
- RETURN_STRING(oauth_url_encode(uri),1);
+ RETURN_STRING(oauth_url_encode(uri), 0);
}
/* }}} */
@@ -1324,7 +1324,7 @@
php_info_print_table_row(2, "PLAINTEXT support", "not supported");
php_info_print_table_row(2, "RSA-SHA1 support", "not supported");
php_info_print_table_row(2, "HMAC-SHA1 support", "enabled");
- php_info_print_table_row(2, "source version", "$Id: oauth.c,v 1.9 2008/11/28 \
01:49:32 felipe Exp $"); + php_info_print_table_row(2, "source version", "$Id: \
oauth.c,v 1.10 2008/11/29 00:47:07 felipe Exp $"); php_info_print_table_row(2, \
"version", OAUTH_EXT_VER); php_info_print_table_end();
}
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic