[vlc-commits] hds: fix out of bounds access (cid #1224531)

Tristan Matthews git at videolan.org
Fri Aug 1 06:04:36 CEST 2014


vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Fri Aug  1 00:00:30 2014 -0400| [d6b004b2034ad0c11aeac1f76ed2e3e7f8151222] | committer: Tristan Matthews

hds: fix out of bounds access (cid #1224531)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d6b004b2034ad0c11aeac1f76ed2e3e7f8151222
---

 modules/stream_filter/hds/hds.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_filter/hds/hds.c b/modules/stream_filter/hds/hds.c
index a8e6c89..2c0750a 100644
--- a/modules/stream_filter/hds/hds.c
+++ b/modules/stream_filter/hds/hds.c
@@ -618,7 +618,7 @@ static void whitespace_substr( char** start,
         return;
 
     while( is_whitespace(*(*end - 1) ) ) {
-        end--;
+        (*end)--;
     }
 }
 



More information about the vlc-commits mailing list