Skip to content

ext/odbc: Fast ZPP conversion#21893

Open
NattyNarwhal wants to merge 5 commits intophp:masterfrom
NattyNarwhal:odbc-fast-zpp
Open

ext/odbc: Fast ZPP conversion#21893
NattyNarwhal wants to merge 5 commits intophp:masterfrom
NattyNarwhal:odbc-fast-zpp

Conversation

@NattyNarwhal
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're the maintainer of the extension, so if you prefer this feel free to merge this.

Comment thread ext/odbc/php_odbc.c
Comment on lines +2588 to +2591
Z_PARAM_STRING_OR_NULL(cat, cat_len)
Z_PARAM_STRING_OR_NULL(schema, schema_len)
Z_PARAM_STRING_OR_NULL(table, table_len)
Z_PARAM_STRING_OR_NULL(type, type_len)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More as a follow-up, but should all those ZPP string specifiers actually be PATH specifiers to check they don't contain null bytes?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good idea; I'll don't think null bytes in strings make sense in any context other than bound binary parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants