Skip to content

[release/6.0] System.Console: allow terminfo files to be larger than 4KiB. - #82433

Merged
carlossanlop merged 1 commit into
dotnet:release/6.0from
adamsitnik:backport82038
Mar 8, 2023
Merged

[release/6.0] System.Console: allow terminfo files to be larger than 4KiB.#82433
carlossanlop merged 1 commit into
dotnet:release/6.0from
adamsitnik:backport82038

Conversation

@adamsitnik

Copy link
Copy Markdown
Member

Backport of #82038 to release/6.0

Customer Impact

Upcoming Fedora 38 provides a TermInfo file which is larger than artificial limit we have set in .NET Core 1.0. Usage of any Console APIs ends up with an exception. This PR removes the max file size check.

Testing

@tmds has provided the fix and tested the changes on Fedora 38.

Risk

I can't think of any, as TermInfo files are stored in a secure location.

No OOB changes needed for System.Console.

# Conflicts:
#	src/libraries/System.Console/src/System/TermInfo.DatabaseFactory.cs
@ghostghost assigned adamsitnikFeb 21, 2023
@adamsitnikadamsitnik added Servicing-consider Issue for next servicing release review area-System.Console labels Feb 21, 2023
@adamsitnikadamsitnik added this to the 6.0.x milestone Feb 21, 2023
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/area-system-console
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #82038 to release/6.0

Customer Impact

Upcoming Fedora 38 provides a TermInfo file which is larger than artificial limit we have set in .NET Core 1.0. Usage of any Console APIs ends up with an exception. This PR removes the max file size check.

Testing

@tmds has provided the fix and tested the changes on Fedora 38.

Risk

I can't think of any, as TermInfo files are stored in a secure location.

No OOB changes needed for System.Console.

Author:adamsitnik
Assignees:adamsitnik
Labels:

Servicing-consider, area-System.Console

Milestone:-

@leecowleecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 21, 2023
@leecowleecow modified the milestones: 6.0.x, 6.0.16Feb 21, 2023

@carlossanlopcarlossanlop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No OOB changes needed. CI failures look unrelated. Approved by Tactics.

@carlossanlop
carlossanlop merged commit e9a40f6 into dotnet:release/6.0Mar 8, 2023
@ghostghost locked as resolved and limited conversation to collaborators Apr 7, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.ConsoleServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@adamsitnik@tmds@carlossanlop@leecow