I think you're right. Are you going to submit a patch?
I don't think the old shell is being maintained...
-Jaben
From: Felix Poludov [mailto:[email protected]]
Sent: Monday, June 09, 2014 1:29 PM
To: [email protected]
Subject: [edk2] ShellPkg bug: wrong system table field is used to locate simple
text pointer interface
There is a code in Edit and HexEdit that tries to locate simple text pointer
splitter using the following call:
Status = gBS->HandleProtocol (
gST->ConIn,
&gEfiSimplePointerProtocolGuid,
(VOID**)&MainEditor.MouseInterface
);
The first parameter should be gST->ConInHandle instead of gST->ConIn.
gST->ConIn is not a handle . It's an instance of SimpleTextIn.
=
Here is the exact code location based on revision 15558:
ShellPkg\Library\UefiShellDebug1CommandsLib\Edit\MainTextEditor.c, line 1459
ShellPkg\Library\UefiShellDebug1CommandsLib\HexEdit\MainHexEditor.c, line 1640
There is also similar issue in the old EdkShell (Is it still maintained?):
EdkShell\edit\libEditor.c, line 124
EdkShell\hexedit\libEditor.c, line 137
( Based on rev. 64 of https://svn.code.sf.net/p/efi-shell/code/trunk/Shell )
Thanks
Felix
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.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel