0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. ohos_webrtc
  2. /
  3. modules
  4. /
  5. audio_processing
  6. /
  7. logging
WWebRTC LUCI CQFix improper buffer size in call to rtc::strcpyn
90fb11e8创建于 2023年9月12日历史提交
文件最后提交记录最后更新时间
apm_data_dumper.cc
Adopt absl::string_view in modules/audio_processing/ Bug: webrtc:13579 Change-Id: Idb05a64cfd16aed68d40cd427a6b516caa5e2077 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/269387 Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Commit-Queue: Ali Tofigh <alito@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37800} 3 年前
apm_data_dumper.h
Fix improper buffer size in call to rtc::strcpyn rtc::strcpyn second param should be the size of the destination buffer, not the size of the source string. The result is that the final character (usually a trailing directory path separator) is lost during the copy. This has been masked because FormFileName helpfully adds a trailing path separator if one is missing. BUG=webrtc:15441 Change-Id: I992e69cad86a7e8bc2057ec629063f34c75fe75f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/317502 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40736} 2 年前