Project

General

Profile

Bug #10412

cd9660: dirmatch fails to unmatch when name is prefix for directory record

Added by Toomas Soome 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2019-02-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Loader does fail to properly match the file name in directory record and does open file based on prefix match.

ok ls disk3:
disk3:/
    .catalog
 d  .cdrom
    .image_info
    .livecd-cdrom-content
    .volsetid
    bin
 d  boot
 d  dev
 d  devices
 d  export
 d  home
 d  jack
 d  mnt
 d  platform
 d  proc
    reconfigure
 d  root
 d  save
    solaris.zlib
    solarismisc.zlib
 d  system
 d  tmp
ok ls disk3:m
disk3:m
 d  misc
ok ls disk3:mnt
disk3:mnt
 d  misc
ok 

Tested manually by browsing the content of the cd9660 media.

ok ls disk3:
disk3:/
    .catalog
 d  .cdrom
    .image_info
    .livecd-cdrom-content
    .volsetid
    bin
 d  boot
 d  dev
 d  devices
 d  export
 d  home
 d  jack
 d  mnt
 d  platform
 d  proc
    reconfigure
 d  root
 d  save
    solaris.zlib
    solarismisc.zlib
 d  system
 d  tmp
ok ls disk3:m
open 'disk3:m' failed: no such file or directory
ok 

History

#1

Updated by Toomas Soome 8 months ago

  • Description updated (diff)
#2

Updated by Electric Monk 8 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 08b0760e7e7cf3b32b68e86077b605095642dcc9

commit  08b0760e7e7cf3b32b68e86077b605095642dcc9
Author: Toomas Soome <tsoome@me.com>
Date:   2019-02-18T17:43:43.000Z

    10412 cd9660: dirmatch fails to unmatch when name is prefix for directory record
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF