Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 07:42:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203149] news/slrn -  dies in LC_ALL=C, LANG=C environment on a some messages
Message-ID:  <bug-203149-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203149

            Bug ID: 203149
           Summary: news/slrn -  dies in LC_ALL=C, LANG=C environment on a
                    some messages
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: johans@FreeBSD.org
          Reporter: parv@pair.com
          Assignee: johans@FreeBSD.org
             Flags: maintainer-feedback?(johans@FreeBSD.org)

Created attachment 161105
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161105&action=edit
slrn --version output

I had sent the following to slrn-user@ list; no resolution yet.

I came upon a post in rec.arts.anime.misc with Message-ID of ...

  8B8AD26D-FF8A-4CCE-A10A-239657B79B2E%anthony.baranyi@bell.net

... with headers ...

  Content-Type: text/plain; charset=windows-1250
  Content-Transfer-Encoding: binary

... which caused slrn to die with segfault. It was when "LC_ALL" was
set to "C" (no other LC_* variable was set).

slrn also dies while trying to display a reply to that post...

  slrnmtekva.3i0.alan@video.sabir.com


... which has ...

  Content-Type: text/plain; charset=UTF-8
  Content-Transfer-Encoding: 8bit

Previously, slrn would just show the odd charcaters without fuss,
which would be the desired behaviour. Problem remained even after
rebuilding slrn & slang.

The two messages can be accessed from ...

  http://bitter-almonds.com/tmp/slrn-segfault-LC_ALL=C

slrn displayed the messages without problem with ...

  LC_TIME=en_US.UTF-8
  LC_NUMERIC=en_US.UTF-8
  LC_MONETARY=en_US.UTF-8
  LC_MESSAGES=en_US.UTF-8
  LC_CTYPE=en_US.UTF-8
  LC_COLLATE=en_US.UTF-8

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203149-13>