Skip to content

Unable to decode objects_5_0.C with certificates #6

@jasonqpswilson

Description

@jasonqpswilson

Hi,

Found this tool and was just what I needed. Found a bug though for our CheckPoint R70 objects_5_0.C files.

If I try and parse this subset:
( : (ObjectName :certificates ( : (defaultCert :AdminInfo ( :chkpf_uid ("{xxx-yyy-zzz-aaa-bbb}") :ClassName (certificate) ) :"#certreq-pki-gen" (false) :"#pki-host-cert-set" (false) ) ) ) )
Get a: Error: syntax error
It looks like the two lines with the # in the names confuses the parser, if you remove these it works fine.
Our objects file is very long (nearly 500,00 lines), but if I just remove these offending lines it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions