Package: highlight
Version: 3.9-1
Severity: important

Highlight segmentation faults with --force command line option if it
can not find any postfix matches that it knows of. Example:

% echo a > a
% highlight --force a
highlight: Undefined language definition. Use --syntax option.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>a</title>
<link rel="stylesheet" type="text/css" href="highlight.css">
</head>
<body class="hl">
Segmentation fault
jussi@jussiblet:/tmp$ highlight --force a -O ansi
highlight: Undefined language definition. Use --syntax option.
Segmentation fault

Same happens with other --out-format options. This prevents from using
highlight in cases we would like to ignore the syntax highlighting
if the file type is unknown.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable'), (99, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages highlight depends on:
ii  highlight-common  3.9-1
ii  libc6             2.13-37
ii  libgcc1           1:4.7.2-5
ii  liblua5.1-0       5.1.5-4
ii  libstdc++6        4.7.2-5

highlight recommends no packages.

highlight suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to