<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg/Universal/Console, branch dependabot/github_actions/github/codeql-action-4</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2025-10-09T08:02:51+00:00</updated>
<entry>
<title>MdeModulePkg : Clear keyboard queue buffer after reading</title>
<updated>2025-10-09T08:02:51+00:00</updated>
<author>
<name>nick.wang</name>
<email>nick.wang@insyde.com</email>
</author>
<published>2025-04-15T11:35:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0cad130cb4885961da201bb9b08424b3fd3d2249'/>
<id>urn:sha1:0cad130cb4885961da201bb9b08424b3fd3d2249</id>
<content type='text'>
There is a possibility to retrieve user input keystroke data stored in the
queue buffer via the EFI_SIMPLE_TEXT_INPUT_PROTOCOL pointer. To prevent
exposure of the password string, clear the queue buffer by filling it
with zeros after reading.

Signed-off-by: Nick Wang &lt;nick.wang@insyde.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/TerminalDxe: Improve the implementation of AnsiTestString</title>
<updated>2025-09-23T01:02:47+00:00</updated>
<author>
<name>Gao Qihang</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2025-08-27T06:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ba41bd096af6fc1c7ad61f32359014bac85540ef'/>
<id>urn:sha1:ba41bd096af6fc1c7ad61f32359014bac85540ef</id>
<content type='text'>
Adjust AnsiTestString to be compatible with wide/narrow string in
TerminalDxe driver. If WIDE_CHAR or NARROW_CHAR is hit, the string
is still valid since OutputString function will correctly handle it.

Signed-off-by: Gao Qihang &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/TerminalDxe: Add missing types for TestString function</title>
<updated>2025-09-23T01:02:47+00:00</updated>
<author>
<name>Gao Qihang</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2025-07-21T03:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0053bbf833bb1612813a4af2ee653cd8b0ba4e19'/>
<id>urn:sha1:0053bbf833bb1612813a4af2ee653cd8b0ba4e19</id>
<content type='text'>
Add four newly added terminal types in TerminalConOutTestString, although
this function is rarely used. This patch is a supplement to previous patch
https://github.com/tianocore/edk2/commit/8a53ea9d9f40aad5504dc6080978a30b1b89ff3e.

Signed-off-by: Gao Qihang &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Fix malformed terminal control sequences</title>
<updated>2025-09-01T05:53:59+00:00</updated>
<author>
<name>Jack Little</name>
<email>jack.tay.little@hpe.com</email>
</author>
<published>2025-07-14T20:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=aeea04341cd12d237fe90e7ed9ebd1cfe7764dab'/>
<id>urn:sha1:aeea04341cd12d237fe90e7ed9ebd1cfe7764dab</id>
<content type='text'>
Commit 9224a2b91764ab17b2c1dbc9fdcb012eaed62da6
adds support for larger terminal dimensions; however, the ANSI control
sequences to manipulate the terminal cursor are not built to accomodate
terminal dimensions that are three digits long.

For example, suppose we want to move the cursor 163 columns to the
right. The required control sequence would be `^[[163C`; however, the
existing code will create a control sequence of `^[[@3C` due to trying
to add 16 to the character '0' instead of either 1 or 6.

This fix adds a third digit to the sequence templates for moving the
cursor forward, moving it backwards, and setting the cursor position.

Signed-off-by: Jack Little &lt;jack.tay.little@hpe.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Improve the implementation of EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL</title>
<updated>2025-08-22T10:32:40+00:00</updated>
<author>
<name>Gao Qihang</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2025-08-01T08:26:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0e1e079f4c5081da6b3b43f9dfc45932299ebb91'/>
<id>urn:sha1:0e1e079f4c5081da6b3b43f9dfc45932299ebb91</id>
<content type='text'>
Fix TestString() to be compatible with wide/narrow string in
GraphicsConsole driver. If WIDE_CHAR or NARROW_CHAR is hit in
TestString function, ignore it since OutputString function will
correctly handle it.
Fix OutputString() to skip wide/narrow char in TerminalDxe. Because
they are not displayable in terminal emulation tool, ingore to
output if they are hit in OutputString function.

Signed-off-by: Gao Qihang &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Console cumulative codeql issues.</title>
<updated>2025-07-17T17:45:48+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-05-12T17:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=8be9a344d35316fb0ee70a33779a7a931fcb8a1d'/>
<id>urn:sha1:8be9a344d35316fb0ee70a33779a7a931fcb8a1d</id>
<content type='text'>
Running Codeql on MdeModulePkg/Universal/Console drivers results
in codeql errors stemming for the following checks.

- cpp/comparison-with-wider-type
- cpp/missing-null-test

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;

Co-authored-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Co-authored-by: Taylor Beebe &lt;tabeebe@microsoft.com&gt;
Co-authored-by: pohanch &lt;125842322+pohanch@users.noreply.github.com&gt;
Co-authored-by: kenlautner &lt;85201046+kenlautner@users.noreply.github.com&gt;
Co-authored-by: Oliver Smith-Denny &lt;osde@linux.microsoft.com&gt;
Co-authored-by: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Co-authored-by: Aaron &lt;aaronpop@microsoft&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/GraphicsConsoleDxe UGA</title>
<updated>2025-07-08T15:42:03+00:00</updated>
<author>
<name>GuoMinJ</name>
<email>newexplorerj@gmail.com</email>
</author>
<published>2025-06-16T08:39:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4315b1922e386b507ff525a39d97ca4f12d070fc'/>
<id>urn:sha1:4315b1922e386b507ff525a39d97ca4f12d070fc</id>
<content type='text'>
The Universal Graphics Adapter (UGA) is a graphic abstraction.
The UGA I/O and Draw protocols are deprecated since UEFI 2.0 was
introduced. Cf. the UEFI spec v2.9:
"Appendix L - EFI 1.10 Protocol Changes and Deprecation List"
section L.2 "Deprecated Protocols"

Remove the UGA support.

Signed-off-by: GuoMinJ &lt;newexplorerj@gmail.com&gt;
Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/ConSplitterDxe UGA</title>
<updated>2025-07-08T15:42:03+00:00</updated>
<author>
<name>GuoMinJ</name>
<email>newexplorerj@gmail.com</email>
</author>
<published>2025-06-16T08:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ecaca1652d955ba8aad2f0d9cece47196bcc11b8'/>
<id>urn:sha1:ecaca1652d955ba8aad2f0d9cece47196bcc11b8</id>
<content type='text'>
The Universal Graphics Adapter (UGA) is a graphic abstraction.
The UGA I/O and Draw protocols are deprecated since UEFI 2.0 was
introduced. Cf. the UEFI spec v2.9:
"Appendix L - EFI 1.10 Protocol Changes and Deprecation List"
section L.2 "Deprecated Protocols"

Remove the UGA support.

Signed-off-by: GuoMinJ &lt;newexplorerj@gmail.com&gt;
Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/TerminalDxe: Support multiple modes for SetMode function</title>
<updated>2025-03-03T01:45:48+00:00</updated>
<author>
<name>Phil Noh</name>
<email>Phil.Noh@amd.com</email>
</author>
<published>2025-02-18T20:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9224a2b91764ab17b2c1dbc9fdcb012eaed62da6'/>
<id>urn:sha1:9224a2b91764ab17b2c1dbc9fdcb012eaed62da6</id>
<content type='text'>
When the terminal driver is active, currently terminals available through
SetMode function are limited to mode 0 (80x25) despite multiple modes are
configured as MaxMode value (e.g. 3 modes in mTerminalConsoleModeData
list). Improve the function to support multiple modes based on the value.
Additionally add more modes that match with the GraphicsConsoleDxe driver.
This update is expected to help the symptom that the Setup or Shell screen
becomes smaller due to the text mode.

Signed-off-by: Phil Noh &lt;Phil.Noh@amd.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/TerminalDxe: Return success if device not support SetControl</title>
<updated>2024-10-28T04:18:53+00:00</updated>
<author>
<name>Hua Ma</name>
<email>hua.ma@intel.com</email>
</author>
<published>2024-10-22T02:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1a3d4b33b6f1ff9a1d66e4bdf110f751ec5f9318'/>
<id>urn:sha1:1a3d4b33b6f1ff9a1d66e4bdf110f751ec5f9318</id>
<content type='text'>
Some serial device may not support SetControl. Ignore the error from
SetControl if EFI_UNSUPPORTED is return.

Signed-off-by: Hua Ma &lt;hua.ma@intel.com&gt;
</content>
</entry>
</feed>
