Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The comment above says we're truncating the string but that's not true, an assert will fail in xsprintf if the description is longer than LINE_MAX. Let's use snprintf instead of xsprintf to make sure it's truncated. We'll cast its result to void to tell static checkers we're fine with truncation.
- Loading branch information