]> 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:08:17 +0000 (18:08 -0500)
commitd3abdf0b8d75cf141879bd31401ca6ff025d31b4
treeaa1b0b5ec4568bf60854fe98f625c48875cfb363
parent686c386b05e1c3b19426142c417d7b0d0a72173f
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