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

[BUG] [CRASH] Segmentation Fault in Phalcon\Validation::bind() #743

Merged
merged 3 commits into from Jun 29, 2013
Merged

[BUG] [CRASH] Segmentation Fault in Phalcon\Validation::bind() #743

merged 3 commits into from Jun 29, 2013

Conversation

ghost
Copy link

@ghost ghost commented Jun 29, 2013

Similar to #741 — when bind() is passed invalid parameters, segmentation fault happens.

Test case:

<?php
$v = new Phalcon\Validation;
try {
        $v->bind(0, 0); // segfaults here
}
catch (Exception $e) {
        echo "Exception caught!\n";
}

phalcon pushed a commit that referenced this pull request Jun 29, 2013
[BUG] [CRASH] Segmentation Fault in Phalcon\Validation::bind()
@phalcon phalcon merged commit a36c3f8 into phalcon:1.2.0 Jun 29, 2013
@ghost ghost deleted the issue-743 branch June 29, 2013 20:03
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

Successfully merging this pull request may close these issues.

2 participants