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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 12:01:28 2024 UTC