From:             [EMAIL PROTECTED]
Operating system: linux
PHP version:      4.0CVS-2001-11-26
PHP Bug Type:     mcrypt related
Bug description:  String is not zero-terminated

require_once 'Crypt/CBC.php';
$key = "secretkey";
$msg = "This is my scret message";
$x =  new Crypt_CBC($key,"BLOWFISH");
echo $x->encrypt($msg);

Result:

/usr/local/lib/php/Crypt/CBC.php(228) : Warning - String is not
zero-terminated (ü,máůZZZZa) (source: ./zend_execute.c:449)

I have tried many combinations & commands, mcrypt always produces the error
- but actually operates correctly apart from the always visible warning.

I have used mcrypt 2.4.17/2.4.18 with same result, current CVS, 4.0.6 and
many CVS's over the last month.



./configure --with-mysql=/usr --with-apxs=/usr/sbin/apxs
--with-tsrm-pthreads --with-gd=/usr/gd --enable-gd-native-ttf
--with-freetype-dir=/usr/include/freetype2/freetype --with-jpeg-dir=/usr
--with-png-dir=/usr --with-zlib-dir=/usr --enable-debug
--with-imap=shared,/usr --with-imap-ssl --with-kerberos
--with-mcrypt=shared,/usr --with-dom=shared,/usr


-- 
Edit bug report at: http://bugs.php.net/?id=14236&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to