Ticket #3240 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

RAR VFS incorrectly recognizes UnRAR version

Reported by: darek Owned by:
Priority: minor Milestone: 4.8.13
Component: mc-vfs Version: 4.8.12
Keywords: rar Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset: committed-master

Description

Description of the problem:

Some options in .rarrc configuration file can make RAR VFS to incorrectly recognize UnRAR as version 4.x instead of 5.x.

Version of Midnight Commander:

mc-4.8.12 and unrar-5.1.7

Steps to reproduce the problem:

  1. Create in the user's home directory .rarrc file with the following line inside:

switches= -idc

  1. Start mc
  2. Press <Enter> on any rar archive
  3. Instead of RAR VFS containing archive contents, Midnight Commander displays set of error messages "Cannot parse: ...."

Solution:

Add -cfg- option to the command used to detect UnRAR version. This option prevents UnRAR from reading configuration from .rarrc file. Please find a patch to RAR VFS attached.

Attachments

mc-4.8.12-urar.in.patch (419 bytes) - added by darek 10 years ago.
Patch to RAR VFS

Change History

Changed 10 years ago by darek

Patch to RAR VFS

comment:1 Changed 10 years ago by andrew_b

  • Blocked By 3189 added
  • Milestone changed from Future Releases to 4.8.13

comment:2 Changed 10 years ago by andrew_b

  • Status changed from new to closed
  • Votes for changeset set to committed-master
  • Resolution set to fixed

comment:3 Changed 10 years ago by andrew_b

  • Blocked By 3189 removed
Note: See TracTickets for help on using tickets.