php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58025 Total Crash: svn_info
Submitted: 2008-02-03 10:30 UTC Modified: 2011-10-05 21:09 UTC
From: marten dot lienen at freenet dot de Assigned:
Status: No Feedback Package: svn (PECL)
PHP Version: 5.2.1 OS: Kubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: marten dot lienen at freenet dot de
New email:
PHP Version: OS:

 

 [2008-02-03 10:30 UTC] marten dot lienen at freenet dot de
Description:
------------
svn_info causes a total crash, if the wc-path ends on
'/'.

Reproduce code:
---------------
<?php
// TOTAL CRASH
print_r(svn_info('/var/www/wcs/aha/', false));
?>
<?php
// Normal behaviour
print_r(svn_info('/var/www/wcs/aha', false));
?>

Expected result:
----------------
array (...)

Actual result:
--------------
Connection refused.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-03 10:47 UTC] scottmac@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2008-02-03 19:01 UTC] alan at akbkhome dot com
can you try the source in cvs, i suspect this is fixed there
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 17:01:27 2019 UTC