[krbdev.mit.edu #8478] git commit
Tom Yu via RT
rt-comment at krbdev.mit.edu
Tue Aug 16 21:46:14 EDT 2016
Fix bttest printing of unterminated strings
The libdb2 btree debugging program bttest can attempt to print keys or
data that aren't null-terminated, reading past the end of the
length-counted byte array. Use the "%.*s" format specifier to provide
an explicit length when printing keys or data.
https://github.com/krb5/krb5/commit/503b912fa11db372db043a8b8fbce51e75b36eed
Author: Tom Yu <tlyu at mit.edu>
Commit: 503b912fa11db372db043a8b8fbce51e75b36eed
Branch: master
src/plugins/kdb/db2/libdb2/test/btree.tests/main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
More information about the krb5-bugs
mailing list