You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(dell): escape XML PCDATA in UEFI password import buffer (#60)
When building the Dell SystemConfiguration import buffer, the current
UEFI password was inserted directly into XML element text. Passwords
containing XML markup characters like `&`, `<`, or `>` could produce
invalid XML or incorrect payloads.
Add a small `XmlPcdata` formatter to escape element text content before
inserting the password into `<Attribute
Name="OldSetupPassword">...</Attribute>`.
Also add unit tests covering escaping behavior and the import-buffer
usage.
Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
0 commit comments