[Mono-bugs] [Bug 464765] New: Inconsistencie in certmgr arguments handeling

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 9 03:10:47 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=464765


           Summary: Inconsistencie in certmgr arguments handeling
           Product: Mono: Tools
           Version: 2.2.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: romain at blogreen.org
         QAContact: mono-bugs at lists.ximian.com
                CC: romain at blogreen.org
          Found By: ---


Created an attachment (id=264057)
 --> (https://bugzilla.novell.com/attachment.cgi?id=264057)
Path to fix the issue

Description of Problem:

The certmgr utility when run without arguments tells:

Usage: certmgr [action] [object type] [options] store [filename]
   or: certmgr -list [object type] [options] store
   or: certmgr -del [object type] [options] store certhash
   or: certmgr -ssl [options] url

However, running `certmgr -list Trust` will fail.

Steps to reproduce the problem:
1. Run MONO_OPTIONS="--debug" certmgr -list Trust

Actual Results:

Mono Certificate Manager - version 2.0.1.0
Manage X.509 certificates and CRL from stores.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD
licensed.


Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
range.
  at Mono.Tools.CertificateManager.Main (System.String[] args) [0x00035] in
/usr/ports/lang/mono/work/mono-2.0.1/mcs/tools/security/certmgr.cs:498 

Expected Results:

List of certificates

How often does this happen? 

Always


The attached patch fix the issue


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list