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

[1.2.3] Hardening fixes #1044

Merged
merged 15 commits into from Aug 9, 2013
Merged
Prev Previous commit
Next Next commit
Interface validation in http/response/cookies.c
(cherry picked from commit 4fa051c)
  • Loading branch information
sjinks committed Aug 9, 2013
commit 53bc7068643c8a003cf62dc46b9d311da1a58186
1 change: 1 addition & 0 deletions ext/http/response/cookies.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ PHP_METHOD(Phalcon_Http_Response_Cookies, set){

PHALCON_INIT_VAR(response);
phalcon_call_method_p1(response, dependency_injector, "getshared", service);
PHALCON_VERIFY_INTERFACE(response, phalcon_http_responseinterface_ce);

/**
* Pass the cookies bag to the response so it can send the headers at the of the
Expand Down