]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BasePrintLib/PrintLibInternal.c
Fix a bug that length might be a negative value for worker function BasePrintLibFillB...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 19 Jan 2009 05:18:23 +0000 (05:18 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 19 Jan 2009 05:18:23 +0000 (05:18 +0000)
commita2bc29c4b140dc59b42bf948c280edb6e204b0bd
treeb72ab7b56ef23d63fa39331f5677fd60ae47763e
parent3069bc194422eea310b17effd6700f6e0b5b58e8
Fix a bug that length might be a negative value for worker function BasePrintLibFillBuffer(). In view of this, it is better to reuse for loop to fill the buffer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7300 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BasePrintLib/BasePrintLib.inf
MdePkg/Library/BasePrintLib/PrintLibInternal.c
MdePkg/Library/BasePrintLib/PrintLibInternal.h