bareos: master 16fd9628
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
Andreas Rogge | Andreas Rogge | master | 2022-02-02 21:15 | master ce3339d2 | Pending |
Changeset | lib: support unterminated strings in Bvsnprintf() previously fmtstr() only supported correctly null-terminated strings when formatting %s, no matter what size specification was given. With this patch, fmtstr() will no longer read past the specified bytes required for the output that should be formatted. |
||||
mod - core/src/lib/bsnprintf.cc | Diff File | ||||
mod - core/src/tests/test_bsnprintf.cc | Diff File |