Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

release-4691635: Calculate the section name's length by the buf size instead of strlen()

Compare
Choose a tag to compare
@BurntBrunch BurntBrunch released this 08 Dec 11:52
Summary: FBSystrace's logs are not null-terminated, which makes Atrace get a wrong length of the section name using strlen method and print weird characters to Loom traces.

Reviewed By: BurntBrunch

Differential Revision: D6496836

fbshipit-source-id: 2440140e99031ae21c8e114a5d372c76f908322e