Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 22:40:47 +0200
From:      =?iso-8859-7?Q?=C1=ED=E1=F3=F4=E1=F3=DC=F4=EF=F2=20=C2=E1=F3=DF=EB=E5=E9=EF=F2?= <B.Anastasatos@MyRealBox.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Panagiotis Astithas <past@netmode.ece.ntua.gr>
Subject:   misc/32233: Fix /usr/src/sbin/mount_msdosfs/iso72dos bugs
Message-ID:  <3BFEB44F.459165A8@MyRealBox.com>

next in thread | raw e-mail | index | archive | help

>Number:         32233
>Category:       misc
>Synopsis:       Fix /usr/src/sbin/mount_msdosfs/iso72dos bugs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 12:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Basileios Anastasatos
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD zephyr.compass 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Sun
Nov 11 22:56:01 EET 2001
toor@zephyr.compass:/usr/src/sys/compile/2001-11-11 i386


>Description:

  /usr/scr/sbin/mount_msdosfs/iso72dos, submitted by me with the PR
  misc/32119 contains a few inaccuracies: ISO-8859-7 middle dot is
  mapped incorrectly to CP-737 bullet operator and ISO-8859-7 capital
  iota with diaeresis and capital upsilon with diaeresis are not mapped
  at all to CP-737.

>How-To-Repeat:

  I didn't verify the bug by experimenting with filenames in MS Windows
  partitions, just trusted the CP-737 to Unicode map found in Andreas
  Brouwer kbd package for Linux.  Previously I used the maps found in
  RFC 1947 ("Greek Character Encoding for Electronic Mail Messages") by
  Diomedes Spinellis, which didn't provide a mapping to CP-737 for
  capital iota and upsilon with diaeresis.

>Fix:

  The necessary patch to /usr/scr/sbin/mount_msdosfs/iso72dos follows:

*** iso72dos.old	Tue Nov 20 00:35:34 2001
--- iso72dos	Fri Nov 23 17:57:57 2001
***************
*** 35,42 ****
  0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f
  0xf9 0xdc 0xdd 0xde 0xfa 0xdf 0xfc 0xfd
  0xfb 0xfe 0xb6 0xb8 0xb9 0xba 0xbc 0xbe
! 0xbf 0xb1 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f
! 0xb0 0xb7 0x3f 0x3f 0x3f 0xb2 0x3f 0x3f
  #
  # u2d: 16 rows of Latin7 -> CP737 conversion table (upper half)
  #
--- 35,42 ----
  0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f
  0xf9 0xdc 0xdd 0xde 0xfa 0xdf 0xfc 0xfd
  0xfb 0xfe 0xb6 0xb8 0xb9 0xba 0xbc 0xbe
! 0xbf 0xb1 0x3f 0x3f 0xda 0xdb 0x3f 0x3f
! 0xb0 0x3f 0xb7 0x3f 0x3f 0xb2 0x3f 0xa0
  #
  # u2d: 16 rows of Latin7 -> CP737 conversion table (upper half)
  #
***************
*** 44,57 ****
  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
! 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
! 0xf8 0xf1 0xfd 0x00 0x00 0x00 0xea 0xf9
  0xeb 0xec 0xed 0x00 0xee 0x00 0xef 0xf0
  0x00 0x80 0x81 0x82 0x83 0x84 0x85 0x86
  0x87 0x88 0x89 0x8a 0x8b 0x8c 0x8d 0x8e
  0x8f 0x90 0x00 0x91 0x92 0x93 0x94 0x95
! 0x96 0x97 0x00 0x00 0xe1 0xe2 0xe3 0xe5
  0x00 0x98 0x99 0x9a 0x9b 0x9c 0x9d 0x9e
  0x9f 0xa0 0xa1 0xa2 0xa3 0xa4 0xa5 0xa6
  0xa7 0xa8 0xaa 0xa9 0xab 0xac 0xad 0xae
--- 44,57 ----
  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
! 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00
  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
! 0xf8 0xf1 0xfd 0x00 0x00 0x00 0xea 0xfa
  0xeb 0xec 0xed 0x00 0xee 0x00 0xef 0xf0
  0x00 0x80 0x81 0x82 0x83 0x84 0x85 0x86
  0x87 0x88 0x89 0x8a 0x8b 0x8c 0x8d 0x8e
  0x8f 0x90 0x00 0x91 0x92 0x93 0x94 0x95
! 0x96 0x97 0xf4 0xf5 0xe1 0xe2 0xe3 0xe5
  0x00 0x98 0x99 0x9a 0x9b 0x9c 0x9d 0x9e
  0x9f 0xa0 0xa1 0xa2 0xa3 0xa4 0xa5 0xa6
  0xa7 0xa8 0xaa 0xa9 0xab 0xac 0xad 0xae
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BFEB44F.459165A8>