GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fs: fix valid id range on fs.chown, fs.chownSync, fs.lchown, fs.fchown by ycjcl868 · Pull Request #37997 · nodejs/node

Conversation

@ycjcl868

@ycjcl868 ycjcl868 commented Mar 31, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes: #37995

Uint32 should be between [0, 2 ** 32)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss and ycjcl868 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@ycjcl868
fs: fix valid id range on chown, lchown, fchown
75ec1d9
@nodejs-github-bot nodejs-github-bot added fs Issues and PRs related to file-system APIs and the fs module. needs-ci PRs that need a full CI run. labels Mar 31, 2021
ycjcl868 added 2 commits March 31, 2021 17:52
@ycjcl868
chore: lint format
c1f1c8e
@ycjcl868
chore: test case
f655297
@RaisinTen

RaisinTen commented Mar 31, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

I'm not sure that this is a valid fix for this issue as -1 is actually an accepted value for owner and group. This is almost like a revert of #31694 which added support for -1.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@benjamingr benjamingr mentioned this pull request Mar 31, 2021
fs: fix chown abort #38004
Closed
@ycjcl868 ycjcl868 changed the title fix: valid id range on fs.chown, fs.chownSync, fs.lchown, fs.fchown fs: fix valid id range on fs.chown, fs.chownSync, fs.lchown, fs.fchown Apr 1, 2021
@ycjcl868

ycjcl868 commented Apr 1, 2021

Copy link
Copy Markdown
Contributor Author

Fix by #38004, Closed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ycjcl868 ycjcl868 closed this Apr 1, 2021
@ycjcl868
ycjcl868 deleted the fs-chown-range branch April 1, 2021 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

fs Issues and PRs related to file-system APIs and the fs module. needs-ci PRs that need a full CI run.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

"fs.chownSync" results in an abort

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@ycjcl868 @RaisinTen @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.