Page MenuHomeFreeBSD

tarfs: Improve validation of numeric fields.
ClosedPublic

Authored by des on Mar 1 2024, 2:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 3, 8:59 PM
Unknown Object (File)
Wed, Jan 29, 6:18 AM
Unknown Object (File)
Tue, Jan 28, 9:59 AM
Unknown Object (File)
Tue, Jan 28, 8:19 AM
Unknown Object (File)
Mon, Jan 27, 4:52 PM
Unknown Object (File)
Mon, Jan 27, 4:38 PM
Unknown Object (File)
Thu, Jan 23, 7:27 PM
Unknown Object (File)
Thu, Jan 23, 6:34 PM

Details

Summary

MFC after: 3 days
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56445
Build 53333: arc lint + arc unit

Event Timeline

des requested review of this revision.Mar 1 2024, 2:58 PM
This revision is now accepted and ready to land.Mar 1 2024, 9:53 PM
This revision now requires review to proceed.Mar 5 2024, 11:33 AM
allanjude added inline comments.
sys/fs/tarfs/tarfs_vfsops.c
155

Is this meant to return just an int now, rather than an int64_t?

des marked an inline comment as done.Mar 5 2024, 5:09 PM
des added inline comments.
sys/fs/tarfs/tarfs_vfsops.c
155

Yes, the result is stored in *num and the return value is either 0 or an error code.

des marked an inline comment as done.Mar 5 2024, 5:09 PM
des added inline comments.
sys/fs/tarfs/tarfs_vfsops.c
155

Oh wait I see what you mean :facepalm:

fix str2base256() return type

This revision is now accepted and ready to land.Mar 6 2024, 1:41 PM
This revision was automatically updated to reflect the committed changes.