Page MenuHomeFreeBSD

tarfs: Improve validation of numeric fields.
ClosedPublic

Authored by des on Mar 1 2024, 2:58 PM.
Tags
None
Referenced Files
F165588926: D44166.diff
Sat, Aug 8, 6:10 PM
F165418453: D44166.id135262.diff
Sat, Aug 8, 3:17 AM
F165410212: D44166.id135407.diff
Sat, Aug 8, 2:21 AM
F165408754: D44166.id135457.diff
Sat, Aug 8, 2:04 AM
Unknown Object (File)
Fri, Aug 7, 10:34 PM
Unknown Object (File)
Fri, Aug 7, 9:16 PM
Unknown Object (File)
Fri, Aug 7, 6:28 PM
Unknown Object (File)
Fri, Aug 7, 5:43 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 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.