[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] [pecl-database-mysql_xdevapi] release/8.0.30: bug#34332205 - follow up
From: Rafal Somla <noreply () php ! net>
Date: 2022-07-26 10:54:24
Message-ID: 8eedvhN5HzRlwX840jtBE5bMpKANPjxQf6U99TA () main ! php ! net
[Download RAW message or body]
Author: Rafal Somla (rsomla1)
Pusher: hramilison
Date: 2022-07-14T09:45:27+02:00
Commit: https://github.com/php/pecl-database-mysql_xdevapi/commit/6f0091931d8a0a497fa8d48312f3fca78bae7405
Raw diff: https://github.com/php/pecl-database-mysql_xdevapi/commit/6f0091931d8a0a497fa8d48312f3fca78bae7405.diff
bug#34332205 - follow up
Update function parameter checks that are performed when building in dev-mode to \
accept "!" in type specifications.
Changed paths:
M util/functions.cc
Diff:
diff --git a/util/functions.cc b/util/functions.cc
index cc9c52c3..e045ddf2 100644
--- a/util/functions.cc
+++ b/util/functions.cc
@@ -252,7 +252,7 @@ void Verify_call_parameters::validate_type_spec(const Type_spec& \
type_specificat / next param gets separated if not reference
! Next param returns NULL if param type IS_NULL
*/
- const util::string allowed_types{ "ldbahoOsz" };
+ const util::string allowed_types{ "ldbahoOsz!" };
const std::size_t disallowed_type_idx{ \
type_specification.args.find_first_not_of(allowed_types) }; if (disallowed_type_idx \
!= util::string::npos) {
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic