Attached is another patch for the VfrCompiler's string to integer functions 
(STOU8, STOU16, STOU32, STOU64).  The functions were not detecting when 
overflow occurred while converting a string to an integer value. (i.e. when 
"256" was being converted into a UINT8, it would be allowed and would result in 
the UINT8 value of 0 being returned).  The patch will now report an error 
message containing the original value and that the value is too large for 
storage in the variable type (UINT8, UINT16, etc).

Regards,
Aaron


The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

Attachment: Vfr-String-To-Integer-Overflow-Detection.patch
Description: Vfr-String-To-Integer-Overflow-Detection.patch

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

Reply via email to