]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stasis_recording: Perform a complete match on requested filename.
authorSean Bright <sean.bright@gmail.com>
Thu, 10 Mar 2022 17:07:40 +0000 (12:07 -0500)
committerKevin Harwell <kharwell@digium.com>
Wed, 23 Mar 2022 23:07:53 +0000 (18:07 -0500)
commit3a7d83087bcfc1f06b5ff66d3be24874c8217623
tree565a2c5c822462befe5765ecb4cbd5b69b2b5f9f
parent2b636f376603bcd98fba44bb9f488337613ce40d
stasis_recording: Perform a complete match on requested filename.

Using the length of a file found on the filesystem rather than the
file being requested could result in filenames whose names are
substrings of another to be erroneously matched.

We now ensure a complete comparison before returning a positive
result.

ASTERISK-29960 #close

Change-Id: Id3ffc77681b9b75b8569062f3d952a128a21c71a
res/stasis_recording/stored.c