Skip to main content.
home | support | download

Back to List Archive

Re: [SWISH-E:118] Dots in directory names can make swish-e crash

From: Reino Va'inaste <reino(at)not-real.postimees.ee>
Date: Wed Jan 14 1998 - 18:30:00 GMT
>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

Hi!

You need to increase MAXSUFFIXLEN from 10 (default) to ...

If you look check.c: ishtml(), then  you see how suffix is extracted.

so  if long filename is    13sys.tem6/release-notes
then suffix is  tem6/release-notes

Hope this will help
Reino

>
>
>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
>
>
>
Reino Všinaste ( reino@postimees.ee ) ph (372) 7 390 379 
Postimees Gildi 1 Tartu Estonia
-- "Contact" ---------------
- Do you think there are people on other planets?
- I don't know. But if it's just us, it would be an awful waste of space.
Received on Wed Jan 14 10:21:24 1998