-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to decode objects_5_0.C with certificates #6
Comments
Thanks, I’ll fix that up.
Was the tool of benefit to you?
On 4 Jan 2019, at 15:43, jasonqpswilson <[email protected]> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADdMQEEDib6ZhFWX5POQXmvxW9XLtzKuks5u_twOgaJpZM4ZpJSJ>
.
|
Hi Greg,
Yes it was – great actually.
Had my own code (really didn’t work too well) – yours (except for that one thing) works great.
NOTE: There is one other issue, when the conversion completes get an error like:
cma_parse(33245,0x7fff8bcb8380) malloc: *** error for object 0x7fa84d7003d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
}Abort trap: 6
Not a big deal still works – will raise as another issue – have not yet narrowed done to a simple case.
Jason
From: Greg Foletta <[email protected]>
Reply-To: gregfoletta/CMAFile_Parser <[email protected]>
Date: Friday, 4 January 2019 at 18:30
To: gregfoletta/CMAFile_Parser <[email protected]>
Cc: jasonqpswilson <[email protected]>, Author <[email protected]>
Subject: Re: [gregfoletta/CMAFile_Parser] Unable to decode objects_5_0.C with certificates (#6)
Thanks, I’ll fix that up.
Was the tool of benefit to you?
On 4 Jan 2019, at 15:43, jasonqpswilson <[email protected]> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADdMQEEDib6ZhFWX5POQXmvxW9XLtzKuks5u_twOgaJpZM4ZpJSJ>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#6 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOWNpwm6wlXPk66LwPpw3Erkx0piYQ5Yks5u_xEWgaJpZM4ZpJSJ>.
**********************************************************************
CONFIDENTIALITY: The information contained in this
electronic mail message and any electronic files attached
to it may be confidential information, and may also be the
subject of legal professional privilege and/or public interest
immunity. If you are not the intended recipient you are
required to delete it. Any use, disclosure or copying of
this message and any attachments is unauthorised. If you
have received this electronic message in error, please
inform the sender or contact [email protected].
This footnote also confirms that this email message has
been checked for the presence of computer viruses.
**********************************************************************
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: