Current time: 11-25-2024, 07:17 PM Hello There, Guest! (LoginRegister)


Post Reply 
ispCP about php5.3.0
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: ispCP about php5.3.0
I still think this substr should be a strpos on line 279:
Code:
$curl_b = substr($data, (int) '{', $start_from);
better:
Code:
$curl_b = strpos($data, '{', $start_from);

because you find several other lines like this and an (int) '{' makes no sense (well, only for the syntax...)
But - as I wrote - since this bug is old, I think the whole following block was never run because $curl_b always was false/0/empty...
I can dig into it sometime and check the parts where this function is called.

/J
(This post was last modified: 08-21-2009 05:13 PM by joximu.)
08-21-2009 05:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ispCP about php5.3.0 - fhawk - 08-21-2009, 02:03 AM
RE: ispCP about php5.3.0 - sci2tech - 08-21-2009, 03:18 AM
RE: ispCP about php5.3.0 - joximu - 08-21-2009, 08:27 AM
RE: ispCP about php5.3.0 - sci2tech - 08-21-2009, 04:41 PM
RE: ispCP about php5.3.0 - joximu - 08-21-2009 05:13 PM
RE: ispCP about php5.3.0 - sci2tech - 08-21-2009, 09:01 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)