Hi Jaben,
Can you help to review the patch?  The assignment statement do not check the 
terminal NULL character in a string, so we use 'StrnCpy' to replace it to avoid 
buffer overflow.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin....@intel.com<mailto:shumin....@intel.com>>

Thanks
Shumin

Attachment: Shell.c.patch
Description: Shell.c.patch

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to