This is an archive of the discontinued LLVM Phabricator instance.

Fix buffer overflow
AbandonedPublic

Authored by michaelplatings on Jul 7 2023, 5:32 AM.

Details

Reviewers
lhames
Summary

In practice this wasn't a problem because the overflow was into another
buffer that was immediately overwritten, but the compiler warning was
annoying.

Diff Detail

Event Timeline

michaelplatings created this revision.Jul 7 2023, 5:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2023, 5:32 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
michaelplatings requested review of this revision.Jul 7 2023, 5:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2023, 5:32 AM

Sorry I missed this earlier. Someone else spotted the same issue -- it should be fixed by 4db6c717c4dc768dba2dd4fd25ace1ad9029a32a. I think this can be closed.

michaelplatings abandoned this revision.Jul 24 2023, 10:49 PM