We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following script:
require 'nokogiri' document = Nokogiri::XML('<a></a>') a_node = document.at('a') p Nokogiri::XML::Comment.new(a_node, 'foo')
On MRI this segfaults the process, on JRuby this appears to work fine:
#<Nokogiri::XML::Comment:0x9fe "foo">
I'm not sure if the usage of XML::Comment here is correct, but at least it shouldn't crash MRI.
XML::Comment
The text was updated successfully, but these errors were encountered:
Crash output (also contains GDB backtraces): https://gist.github.com/YorickPeterse/7a21392aed7cdd0391b0
Sorry, something went wrong.
Thanks for reporting. Will look into it.
e4fdcaf
No branches or pull requests
Consider the following script:
On MRI this segfaults the process, on JRuby this appears to work fine:
I'm not sure if the usage of
XML::Comment
here is correct, but at least it shouldn't crash MRI.The text was updated successfully, but these errors were encountered: