Hi everyone,
I believe, I just found a bug in swish-e. To reproduce it do this:
mkdir 13sys.tem6
touch 13sys.tem6/changes
touch 13sys.tem6/release-notes
swish-e -i 13sys.tem6
This results in a segmentation fault. I confirmed this kind of behaviour on
Linux and
FreeBSD. Even on other systems you should be able confirm this since swish-e
looks
pretty much like pure C to me.
I used gcc version 2.7.2.1 on Linux and FreeBSD. No -O2 but -g to get some
debugable
code.
I believe that there must be something wrong in the way swish-e handles
directory names.
The problem is the dot. Replace the dot with an '_' and it works fine. Amazing
is that
"13system.6" works! Any other position of the dot in the name makes it crash.
This
bug also exists in the old non-enhanced swish version.
Can someone confirm this behaviour? Since I am not familiar with the source:
could someone either give me a hint, where to look for it or come up with a
fix?
Thanks in advance,
Marcus Haebler
---
ICS Internet Communication Systems GmbH
Soester Strasse 13 Tel.: +49 251 6060-0 mailto:support@muenster.net
48155 Muenster (Germany) Fax.: +49 251 6060-190 http://www.muenster.net
Received on Wed Jan 14 09:54:44 1998