After looking further, it appears that the FreePool() call on line 1756 is 
unnecessary, and just causes a breakpoint.

Removing it allows the functionality to work correctly.

//    FreePool (Split->SplitStdIn);

-----Original Message-----
From: edk2-devel [] On Behalf Of Tim Lewis
Sent: Thursday, December 01, 2016 5:48 PM
Subject: [edk2] Pipe causes pool failure in Shell.c

Using the latest Shell build, try:

ls -sfo | parse FileInfo 2

This ends up with a breakpoint when FreePool is called on Shell.c, line 1756.

I'm still debugging, but I wondered if anyone else has seen this?


ls -sfo > tmp
parse FileInfo 2 < tmp

prints nothing, but

parse tmp FileInfo 2

works fine.

edk2-devel mailing list
edk2-devel mailing list

Reply via email to