webrtc_m130/modules/audio_processing
Michael Froman 90fb11e806 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}
2023-09-12 11:40:07 +00:00
..
2023-04-20 02:02:45 +00:00
2023-04-20 02:02:45 +00:00
2023-04-20 02:02:45 +00:00
2023-04-20 02:02:45 +00:00
2022-09-27 06:55:31 +00:00
2023-01-16 14:36:06 +00:00
2022-09-09 14:39:35 +00:00
2023-04-20 02:02:45 +00:00