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)
Tue, Oct 22, 8:29 AM
Unknown Object (File)
Tue, Oct 22, 8:17 AM
Unknown Object (File)
Sep 28 2024, 2:58 PM
Unknown Object (File)
Sep 28 2024, 2:58 PM
Unknown Object (File)
Sep 23 2024, 9:39 AM
Unknown Object (File)
Sep 19 2024, 4:17 AM
Unknown Object (File)
Sep 12 2024, 2:40 AM
Unknown Object (File)
Sep 6 2024, 3:27 AM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
154–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
154–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
154–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.