Diff for /embedaddon/php/ext/pdo/pdo.c between versions 1.1.1.1 and 1.1.1.4

version 1.1.1.1, 2012/02/21 23:47:58 version 1.1.1.4, 2014/06/15 20:03:51
Line 2 Line 2
   +----------------------------------------------------------------------+    +----------------------------------------------------------------------+
   | PHP Version 5                                                        |    | PHP Version 5                                                        |
   +----------------------------------------------------------------------+    +----------------------------------------------------------------------+
  | Copyright (c) 1997-2012 The PHP Group                                |  | Copyright (c) 1997-2014 The PHP Group                                |
   +----------------------------------------------------------------------+    +----------------------------------------------------------------------+
   | This source file is subject to version 3.01 of the PHP license,      |    | This source file is subject to version 3.01 of the PHP license,      |
   | that is bundled with this package in the file LICENSE, and is        |    | that is bundled with this package in the file LICENSE, and is        |
Line 277  PDO_API int php_pdo_parse_data_source(const char *data Line 277  PDO_API int php_pdo_parse_data_source(const char *data
                                         parsed[j].optval = estrndup(data_source + valstart, semi - valstart - n_semicolumns);                                          parsed[j].optval = estrndup(data_source + valstart, semi - valstart - n_semicolumns);
                                 } else {                                  } else {
                                         int vlen = semi - valstart;                                          int vlen = semi - valstart;
                                        char *orig_val = data_source + valstart;                                        const char *orig_val = data_source + valstart;
                                         char *new_val  = (char *) emalloc(vlen - n_semicolumns + 1);                                          char *new_val  = (char *) emalloc(vlen - n_semicolumns + 1);
                                                                   
                                         parsed[j].optval = new_val;                                          parsed[j].optval = new_val;

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>