Skip to content
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

Segfault when adding PostFields #26

Closed
sardaukar opened this issue Mar 9, 2010 · 2 comments
Closed

Segfault when adding PostFields #26

sardaukar opened this issue Mar 9, 2010 · 2 comments

Comments

@sardaukar
Copy link

More info on http://redmine.ruby-lang.org/issues/show/2790

@taf2
Copy link
Owner

taf2 commented Mar 9, 2010

hi thanks for the report, PostFields code is notoriously brittle - it's written to assume everything passed into it should be a ruby String, anything else will generally cause a segv, as the RSTRING_PTR, and RSTRING_LEN macros are used... I've just been plugging these holes as reported...

the issue is now fixed in commit http://github.com/taf2/curb/commit/735cb0a0f6b7eb292baea11c349fdf5f7471c830

I'll release a new gem shortly

@sardaukar
Copy link
Author

Thanks for the fix!

jtnegrotto pushed a commit to jtnegrotto/curb that referenced this issue Jun 6, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants