Skip to content

Drop support for printf p modifier #7159

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

Closed
wants to merge 1 commit into from
Closed

Conversation

nikic
Copy link
Member

@nikic nikic commented Jun 16, 2021

To be conservative, cause a fatal error if the p modifier is
encountered, in case this is still used by some extension.

@krakjoe
Copy link
Member

krakjoe commented Jun 16, 2021

Fatal error is totally reasonable, I think uses must be rare if they exist at all.

@nikic
Copy link
Member Author

nikic commented Jun 16, 2021

There were some incorrect formats, including use of %pd, in mysqlnd debug logging, fixed in 3acdab8.

To be conservative, cause a fatal error if the p modifier is
encountered, in case this is still used by some extension.
@nikic
Copy link
Member Author

nikic commented Jun 16, 2021

Merged as 0d6358f.

@nikic nikic closed this Jun 16, 2021
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