[scudo] Use setenv instead of putenv in ScudoCombinedTest.ZeroOnDeallocEnabledAndFlag (#173423)
This solves a stack-use-after-scope reported by AddressSanitizer within
the unsetenv call at end of the test, due to the "Options" buffer, that
we allocate on the stack, having already gone out of scope.
Unlike putenv, which stores the pointer to the passed string directly in
the environment, setenv creates an internal copy.
NAS-139076 / 25.10.2 / Fix parsing / flush of legacy share acl format (by anodos325) (#17914)
Between TrueNAS 13 and SCALE we altered the format for SMB share ACLs
that is written to our sqlite3 database from a basic security descriptor
string as formatted by the sharesec utility to the actual secuirty
descriptor bytes that are stored in the share_info.tdb file. This commit
fixes handling for cases where user has the old format written to the DB
and adds tests.
Original PR: https://github.com/truenas/middleware/pull/17913
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
NAS-139076 / 26.04 / Fix parsing / flush of legacy share acl format (#17913)
Between TrueNAS 13 and SCALE we altered the format for SMB share ACLs
that is written to our sqlite3 database from a basic security descriptor
string as formatted by the sharesec utility to the actual secuirty
descriptor bytes that are stored in the share_info.tdb file. This commit
fixes handling for cases where user has the old format written to the DB
and adds tests.
libc/stdlib/Makefile: one line for each source file name
Reviewed by: alc, emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54365
Allow using interface subnet macros which only have VIPs. Implement #16613
Remove the check for a primary address when generating a pf rule's
interface subnet macro. And allow the rule to be generated if the macro
contains any address or VIP. This behavior aligns with the table output
shown in the WebGUI when hovering over the alias used in a rule.
Fix parsing / flush of legacy share acl format
Between TrueNAS 13 and SCALE we altered the format for SMB share
ACLs that is written to our sqlite3 database from a basic
security descriptor string as formatted by the sharesec utility
to the actual secuirty descriptor bytes that are stored in the
share_info.tdb file. This commit fixes handling for cases where
user has the old format written to the DB and adds tests.
fast_float: updated to 8.2.1
8.2.1
fix for issue 354
8.2.2
Added template overloads for integer_times_pow10()
Made function non-template
Added corner cases around max value/infinity
Fixes compilation on GCC/MinGW
oss-fuzz: Add unit test build
documenting better which types we support
adding IP address benchmark
faster uint8_t parsing
Fixed UB
Fix parsing / flush of legacy share acl format
Between TrueNAS 13 and SCALE we altered the format for SMB share
ACLs that is written to our sqlite3 database from a basic
security descriptor string as formatted by the sharesec utility
to the actual secuirty descriptor bytes that are stored in the
share_info.tdb file. This commit fixes handling for cases where
user has the old format written to the DB and adds tests.
[libc++][ranges] Applied `[[nodiscard]]` to `owning_view`, `ref_view` (#173708)
`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.
- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/range.all
Towards #172124