Package: msort
Version: 8.26-1
Severity: important
Tags: patch
msort segfault when using -c n option.
In the source code it just looks like a bag copy/past.
See the patch file for more information.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages msort depends on:
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libtre4 0.7.3-1 regexp matching library with appro
msort recommends no packages.
-- no debconf information
--- msort.old.c 2006-08-15 21:28:30.000000000 +0200
+++ msort.c 2006-08-15 21:28:37.000000000 +0200
@@ -1491,8 +1491,8 @@
if(KeyInfo[0]->CompType & CDATE) fprintf(fp,"date\n");
else if(KeyInfo[0]->CompType & CTIME) fprintf(fp,"time\n");
else if(KeyInfo[0]->CompType & CISO8601) fprintf(fp,"iso8601
date/time\n");
- else if(KeyInfo[i]->CompType & CANGLE) fprintf(fp,"angle\n");
- else if(KeyInfo[i]->CompType & CMONTH) fprintf(fp,"month name\n");
+ else if(KeyInfo[0]->CompType & CANGLE) fprintf(fp,"angle\n");
+ else if(KeyInfo[0]->CompType & CMONTH) fprintf(fp,"month name\n");
else fprintf(fp,"numeric\n");
}
return;