Package: libneon27
Version: 0.28.2-1
Severity: normal

Hi,

I have a weird problem using svn with https dav repository, since 0.28 (it
worked and still works fine using 0.27).

The problem occurrs only on a private intranet and I couldnt reproduce it
outside yet, so I'm not able to give a backtrace, yet, sorry (I'll try to drop
all possible private info from the backtrace and post them later).

Basically, the segfault is in src/ne_uri.c, in merge_paths() function.
It tries to test base->path[0], but in my case, it's NULL, so the comparison
leads to a segfault.

When I follow the stack trace, it gives:
ne_uri.c:merge_paths()
ne_uri.c:ne_uri_resolve()
ne_auth.c:parse_domain()

It's in parse_domain() where base is initialized. There's a memset to 0, and
following the execution flow, I cant see where base->path could be initialized
and some memory allocated. Just after that, there is:

base.path = absolute.path;

So I guess testing (and setting) the base.path in merge_paths() is useless
anyway, but moving the instruction before the call to ne_uri_resolve() doesn't
solve the problem. The call to ne_uri_resolve is part of a loop, and the
second turn is with a base->path set to NULL again.

I know this bug report isn't really detailed enough, but the fact path is
never allocated seems wrong to me (and this part of the code has changed a lot
since 0.27). Maybe upstream could have some pointer on this?

(oh and btw, I've wrote this BR on an etch machine, but I'm testing on an
up-to-date sid box).

Thanks for your time, and regards,

--
Yves-Alexis Perez

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to