Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

seanm
Copy link
Contributor

@seanm seanm commented Jun 22, 2022

force_builders=Custom
build_image:Custom=centos:7
buildworker:Custom=linux-f1

seanm added 2 commits June 22, 2022 12:46
Some functions were changed to take another parameter: the size of the buffer, so that they can pass that size on to snprintf.
@seanm seanm changed the title Sprintf Replaced sprintf with safer snprintf Jun 22, 2022
Copy link
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@alalek alalek merged commit 35f1a90 into opencv:4.x Jun 25, 2022
@alalek alalek mentioned this pull request Aug 21, 2022
a-sajjad72 pushed a commit to a-sajjad72/opencv that referenced this pull request Mar 30, 2023
Replaced sprintf with safer snprintf

* Straightforward replacement of sprintf with safer snprintf

* Trickier replacement of sprintf with safer snprintf

Some functions were changed to take another parameter: the size of the buffer, so that they can pass that size on to snprintf.
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