This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Don't print *trailing* nuls in char arrays
ClosedPublic

Authored by labath on Mar 2 2022, 2:00 AM.

Details

Summary

Embedded nul characters are still printed, and they don't terminate the
string. See also D111634.

Diff Detail

Event Timeline

labath created this revision.Mar 2 2022, 2:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2022, 2:00 AM
labath requested review of this revision.Mar 2 2022, 2:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2022, 2:00 AM
kastiglione accepted this revision.Mar 2 2022, 7:46 AM

thanks for doing this!

This revision is now accepted and ready to land.Mar 2 2022, 7:46 AM
This revision was automatically updated to reflect the committed changes.