audk/BaseTools/Source
Michael LeMay 17751c5fa4 BaseTools/GenFw: Exit with error when header lookup fails
This patch revises GetPhdrByIndex and GetShdrByIndex to cause GenFw to
exit with an error message when a section header lookup fails.  The
current behavior of those functions in such circumstances is to return
NULL, which can cause GenFw to subsequently fault when it attempts to
dereference the null pointer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael LeMay <michael.lemay@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2016-02-17 13:17:26 +08:00
..
C BaseTools/GenFw: Exit with error when header lookup fails 2016-02-17 13:17:26 +08:00
Python BaseTools-Source: Update displayed version information 2016-02-16 10:58:40 +08:00
BinaryFiles.txt Removing the msvcr71.dll - no longer required, building with VS2013. 2015-06-09 18:20:51 +00:00