Revision: 13715
          http://edk2.svn.sourceforge.net/edk2/?rev=13715&view=rev
Author:   ydong10
Date:     2012-09-11 10:26:44 +0000 (Tue, 11 Sep 2012)
Log Message:
-----------
Enhance the comments.

Signed-off-by: Dong Eric <[email protected]>
Reviewed-by: Ye Ting  <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdePkg/Library/BasePeCoffLib/BasePeCoff.c

Modified: trunk/edk2/MdePkg/Library/BasePeCoffLib/BasePeCoff.c
===================================================================
--- trunk/edk2/MdePkg/Library/BasePeCoffLib/BasePeCoff.c        2012-09-11 
02:26:50 UTC (rev 13714)
+++ trunk/edk2/MdePkg/Library/BasePeCoffLib/BasePeCoff.c        2012-09-11 
10:26:44 UTC (rev 13715)
@@ -1718,6 +1718,8 @@
   PE/COFF image starting at byte offset FileOffset into the buffer specified 
by Buffer.  
   The size of the buffer actually read is returned in ReadSize.
   
+  The caller must make sure the FileOffset and ReadSize within the file scope.
+
   If FileHandle is NULL, then ASSERT().
   If ReadSize is NULL, then ASSERT().
   If Buffer is NULL, then ASSERT().

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to