commit | 8dd304035848e780372a5a4bb1afac2b2d20bc43 | [log] [tgz] |
---|---|---|
author | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Sun Aug 05 19:52:11 2018 -0700 |
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Sun Aug 05 20:43:17 2018 -0700 |
tree | d817971e42a8a5b86de43880dcfef244b3c5aeb0 | |
parent | 467502e70acb89f36b475bf29fe12333939fe5c7 [diff] |
Format and fix out of bound access in CpuProfilerSwitch GCC was giving warning on snprintf and it hinted at base_profile_name and full_profile_name not being long enough. Fix is to ensure base_profile_name is long enough for PATH_MAX and that full_profile_name is enough longer to fit extra chars.