Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standard Libraries: vsnprintf_ss: fix assert check on uninitialized v…
…ariable. Variable n is not yet initialized when the _DIAGASSERT() check is performed on it, which means any old garbage in n may or may not cause the assert to occur. I believe this is a cut-n-paste error from vsnprintf() where n is used as a paramater, where as vsnprintf_ss() does not. Fix this by not asserting on n. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Colin Ian King <[email protected]>
- Loading branch information
89e0f3b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the first line of the commit message too long?
https://github.com/tianocore/tianocore.github.io/wiki/Commit-Message-Format
I think 'Standard Libraries' on the first line of the commit message should be changed to 'StdLib'.