#44872 [Com]: canary mismatch on efree() - heap overflow detected

2009-04-21 Thread fr33z at inmail dot cz
 ID:   44872
 Comment by:   fr33z at inmail dot cz
 Reported By:  mattr at shoplet dot com
 Status:   No Feedback
 Bug Type: MySQLi related
 Operating System: FreeBSD 6.2
 PHP Version:  5.2.5
 New Comment:

I have the same issue with PHP Version 5.2.9-pl2-gentoo
'./configure' '--prefix=/usr/lib64/php5' '--host=x86_64-pc-linux-gnu'
'--mandir=/usr/lib64/php5/man' '--infodir=/usr/lib64/php5/info'
'--sysconfdir=/etc' '--cache-file=./config.cache' '--with-libdir=lib64'
'--with-pcre-regex=/usr' '--enable-maintainer-zts' '--disable-cli'
'--with-apxs2=/usr/sbin/apxs2'
'--with-config-file-path=/etc/php/apache2-php5'
'--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active'
'--without-pear' '--disable-bcmath' '--with-bz2' '--disable-calendar'
'--with-curl' '--with-curlwrappers' '--disable-dbase' '--enable-exif'
'--without-fbsql' '--without-fdftk' '--enable-ftp' '--with-gettext'
'--without-gmp' '--disable-ipv6' '--disable-json' '--without-kerberos'
'--enable-mbstring' '--with-mcrypt' '--with-mhash' '--without-msql'
'--without-mssql' '--with-ncurses' '--with-openssl'
'--with-openssl-dir=/usr' '--disable-pcntl' '--without-pgsql'
'--without-pspell' '--without-recode' '--disable-shmop' '--without-snmp'
'--disable-soap' '--enable-sockets' '--without-sybase'
'--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem'
'--disable-sysvshm' '--without-tidy' '--disable-wddx' '--without-xmlrpc'
'--with-xsl' '--enable-zip' '--with-zlib' '--disable-debug'
'--enable-dba' '--without-cdb' '--with-db4' '--disable-flatfile'
'--with-gdbm' '--without-qdbm' '--with-freetype-dir=/usr'
'--with-t1lib=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr'
'--with-png-dir=/usr' '--without-xpm-dir' '--with-gd'
'--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock'
'--without-mysqli' '--without-pdo-dblib' '--with-pdo-mysql=/usr'
'--without-pdo-odbc' '--without-pdo-pgsql' '--without-pdo-sqlite'
'--with-readline' '--without-libedit' '--without-mm' '--without-sqlite'
'--with-pic'


Previous Comments:


[2009-03-22 19:38:40] mr dot jony at gmail dot com

i have this same problem in a fresh install of ubuntu 8.04 lts

and i dont have the suhosin patch

please help



[2009-03-11 09:17:40] dballance at roydshall dot org

I have the same error when running certain queries with mssql_query().
There seems to be no way to predict which queries will run and which
fail - although if a query fails it always fails and if it runs then it
alway runs. The more complex the query, the more likely to fail.

I am running PHP Version 5.2.4-2ubuntu5.5 with Suhosin Patch 0.9.6.2. 
Example code that trips the switch:

$dbhandle = mssql_connect($myServer, $myUser, $myPass);
$selected = mssql_select_db($myDB, $dbhandle);

$query = "SELECT * FROM sims.curr_group INNER JOIN
sims.curr_class_period ON sims.curr_group.base_group_id =
sims.curr_class_period.base_group_id INNER JOIN sims.sims_person ON
sims.sims_person.person_id = sims.curr_class_period.person_id
WHERE (sims.curr_group.short_name = '9b/It1')";

$result = mssql_query($query);

while($row = mssql_fetch_array($result)) {
   print_r($row);
}

//close the connection
mssql_close($dbhandle);



[2008-10-10 09:50:38] krister dot karlstrom at arcada dot fi

I'm experiencing the same bug using PHP 5.2.4-2ubuntu5.3 with
Suhosin-Patch 0.9.6.2 (cli) on a Ubuntu Hardy 8.0.4 server.

The following simplified example shows the problem, the last echo row
is not executed because of mssql_free_result() fails:

up_nr."\n";

mssql_free_result($result);
}
}
}

echo "Here I am - NOT!";

?>

OUTPUT
==
201000
ALERT - canary mismatch on efree() - heap overflow detected (attacker
'REMOTE_ADDR not set', file '/var/www//TestMsSQL.php

#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'

2007-11-15 Thread fr33z at inmail dot cz
 ID:   31193
 Comment by:   fr33z at inmail dot cz
 Reported By:  david at cubbieco dot com
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: linux gcc-3.2
 PHP Version:  5.0.3
 New Comment:

I have the same problem with PHP 5.2.5 on Slackware 11, why it isn't
still fixed?


Previous Comments:


[2007-11-02 23:41:11] w dot peter dot howell at meccahosting dot com

This problem still occurs in v5.2.4.  It's been 3 years now.  Does
someone plan to fix this?



[2007-07-24 09:09:29] janarbek at icu dot ac dot kr

I tried to install Php5.2.3  on Fedora 4 with Apache 2

if you add -liconv to EXTRA_LIBS then make works fine.



[2007-05-15 09:16:11] weber at lviv dot farlep dot net

Latest PHP 5.2.2.
Faced the same problem on RHES4.

My options:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=shared,/usr --with-xml --with-dom --enable-sockets
--enable-ftp

Even I compiled clean libiconv the problem persists. 
Solution was the same as described in the first post.



[2006-04-11 16:05:46] gaikwad_s at rediffmail dot com

I am trying to install php 5 on fedora linux 5 
it has generating error like
I searched on net but did got any clue regarding this 
usr/local/src/php-5.1.2/ext/iconv/iconv.c:772: undefined reference to
`libiconv'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:890: undefined reference to
`libiconv_close'
ext/iconv/.libs/iconv.o: In function
`_php_iconv_appendl':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:254:
undefined reference to `libiconv'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:291: undefined reference to
`libiconv'
ext/iconv/.libs/iconv.o: In function
`_php_iconv_mime_decode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1251:
undefined reference to `libiconv_open'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1362: undefined reference
to `libiconv_close'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1365: undefined reference
to `libiconv_open'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1718: undefined reference
to `libiconv_close'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1721: undefined reference
to `libiconv_close'
ext/iconv/.libs/iconv.o: In function
`php_iconv_stream_filter_dtor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2309:
undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function
`php_iconv_stream_filter_append_bucket':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2459:
undefined reference to `libiconv'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2381: undefined reference
to `libiconv'
ext/iconv/.libs/iconv.o: In function
`php_iconv_stream_filter_ctor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2335:
undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function
`_php_iconv_substr':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:618:
undefined reference to `libiconv_open'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:641: undefined reference to
`libiconv'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:698: undefined reference to
`libiconv_close'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:702: undefined reference to
`libiconv_close'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:649: undefined reference to
`libiconv_open'
ext/iconv/.libs/iconv.o: In function
`_php_iconv_mime_encode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:940:
undefined reference to `libiconv_open'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:954: undefined reference to
`libiconv_open'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1213: undefined reference
to `libiconv_close'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference
to `libiconv_close'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference
to `libiconv_close'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1073: undefined reference
to `libiconv'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1025: undefined reference
to `libiconv'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1057: undefined reference
to `libiconv'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1125: undefined reference
to `libiconv'
:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1156: undefined reference
to `libiconv'
ext/iconv/.libs/iconv.o:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1200:
more undefined references to `libiconv' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1



[2005-01-31 22:29:05] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer exp