Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

adamsitnik
Copy link
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
@ghost ghost assigned adamsitnik Feb 21, 2023
@adamsitnik adamsitnik added Servicing-consider Issue for next servicing release review area-System.Console labels Feb 21, 2023
@adamsitnik adamsitnik added this to the 6.0.x milestone Feb 21, 2023
@ghost
Copy link

ghost commented Feb 21, 2023

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: -

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

@carlossanlop carlossanlop left a comment

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.0 Mar 8, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Console Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants