Commit graph

4 commits

Author SHA1 Message Date
vanjeff
6279d33253 sync patch r10492, r10780, r10877, r10880, r10955 from main trunk.
Add security check to make code run safe.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11549 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 01:38:01 +00:00
vanjeff
dca1a39f6e Sync sync patch r11083, r11084 from main trunk.
1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE,
   use MAX_EXTENDED_DATA_SIZE as before.
2. Use DEBUG error message instead of ASSERT(FASLE) when extended data is too large
3. Expand 1 for buffer array size to avoid potential issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11095 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 01:59:11 +00:00
vanjeff
0c2097bd76 sync patch r11013, r11022, r11023 from main trunk.
1. Prevent infinite recursion when ASSERT(), DEBUG(), or any other use of ReportStatusCode
   is performed at > TPL_NOTIFY or there is not enough memory to allocate a buffer for the
   ExtendedData associated with the status code being reported.
2. Replaced MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11039 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11 06:31:17 +00:00
xli24
8760829be8 Move PeiReportStatusCodeLib to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9628 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:40:45 +00:00