diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-08-12 00:58:52 +0000 | 
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-08-12 00:58:52 +0000 | 
| commit | 93bcd55eafbcf2a49e8963c3475d5a7b1fbc8c53 (patch) | |
| tree | 981e9591cd93532e591400b35b595735a6eee0b7 /ext/fbsql/php_fbsql.c | |
| parent | 3652ab6032819e4854ae607fe8084cd129791983 (diff) | |
| download | php-git-93bcd55eafbcf2a49e8963c3475d5a7b1fbc8c53.tar.gz | |
emalloc -> safe_emalloc
Diffstat (limited to 'ext/fbsql/php_fbsql.c')
| -rw-r--r-- | ext/fbsql/php_fbsql.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index e751e85f21..75dddca485 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -2349,7 +2349,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng  				*length = l*2+3+1;  				if (value)  				{ -					char*        r = emalloc(l*2+3+1); +					char*        r = safe_emalloc(l, 2, 4);  					r[0] = 'X';  					r[1] = '\'';  					for (i = 0; i < nBits / 8; i++) @@ -2371,7 +2371,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng  				*length = l*2+3+1;  				if (value)  				{ -					char*        r = emalloc(l*2+3+1); +					char*        r = safe_emalloc(l, 2, 1);  					r[0] = 'B';  					r[1] = '\'';  					for (i = 0; i < nBits; i++) | 
