Re: [edk2] [PATCH] FatPkg EnhancedFatDxe: Use safe string functions

2015-07-01 Thread Carsey, Jaben
One question below. Reviewed-by: Jaben Carsey > -Original Message- > From: Hao Wu [mailto:hao.a...@intel.com] > Sent: Wednesday, July 01, 2015 1:00 AM > To: edk2-devel@lists.sourceforge.net > Subject: [edk2] [PATCH] FatPkg EnhancedFatDxe: Use safe string functions >

[edk2] [PATCH] FatPkg EnhancedFatDxe: Use safe string functions

2015-07-01 Thread Hao Wu
Unsafe string functions are replaced with safe ones. Safe string functions will assert if DestMax is not greater than StrnLenS(Source, DestMax). Therefore, additional assert for checking the size of source and destination buffers can be removed. Contributed-under: TianoCore Contribution Agreement