- 10 Dec, 2014 8 commits
-
-
Jean-Baptiste Kempf authored
-
Fabian Yamaguchi authored
It should fix a possible invalid memory access When streaming ogg-files via rtp, an ogg-file can trigger an invalid write access using an overly long 'configuration' string. The original code attemps to allocate space to hold the string on the stack and hence, cannot verify if allocation succeeds. Instead, we now allocate the buffer on the heap and return if allocation fails. In detail, rtp_packetize_xiph_config allocates a buffer on the stack at (1) where the size depends on the local variable 'len'. The variable 'len' is calculated at (0) to be the length of a string contained in a specially crafted Ogg Vorbis file, and therefore, it is attacker-controlled. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Fabian Yamaguchi authored
On 32 bit builds, parsing of update status files with a size of 4294967295 or more lead to an integer truncation in a call to malloc and a subsequent buffer overflow. This happened prior to checking the files' signature. The commit fixes this by disallowing overly large status files (above 65k in practice) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Thomas Guillem authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Thomas Guillem authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Thomas Guillem authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Thomas Guillem authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Thomas Guillem authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
- 09 Dec, 2014 7 commits
-
-
Felix Paul Kühne authored
-
Diego Biurrun authored
demux/mp4/libmp4.c:858:12: warning: variable ‘translate’ set but not used [-Wunused-but-set-variable] Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Diego Biurrun authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Jean-Baptiste Kempf authored
-
Jean-Baptiste Kempf authored
-
Jean-Baptiste Kempf authored
-
Ludovic Fauvet authored
-
- 08 Dec, 2014 7 commits
-
-
Felix Paul Kühne authored
-
Felix Paul Kühne authored
-
Felix Paul Kühne authored
-
Felix Paul Kühne authored
-
Fabian Yamaguchi authored
We ensure that pbox->i_size is never smaller than 8 to avoid an integer underflow in the third argument of the subsequent call to memcpy. We also make sure no truncation occurs when passing values derived from the 64 bit integer p_box->i_size to arguments of malloc and memcpy that may be 32 bit integers on 32 bit platforms. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Uwe L. Korn authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Uwe L. Korn authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
- 07 Dec, 2014 2 commits
-
-
Tristan Matthews authored
This reverts commit 67066bf6 and 1a2780cb as there are still some upstream issues to resolve.
-
Felix Paul Kühne authored
-
- 06 Dec, 2014 7 commits
-
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Rémi Denis-Courmont authored
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Jean-Baptiste Kempf authored
-
Jean-Baptiste Kempf authored
-
Fabian Yamaguchi authored
Check the return value of malloc to avoid a null-pointer dereference. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Fabian Yamaguchi authored
The variable len is a raw 32 bit value read using GetDWBE. If this value is larger than UINT32_MAX - sizeof(eos), this will cause an integer overflow in the subsequent call to malloc, and finally a buffer overflow when calling memcpy. We fix this by checking len accordingly. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
- 05 Dec, 2014 5 commits
-
-
Ludovic Fauvet authored
-
Ilkka Ollakka authored
If we provide initial segment-number, most likely we want to continue where we have left of, so leave old playlist-file there and just overwrite it when we updated it. default initial-segment-number is 1 so don't test against 0
-
Ilkka Ollakka authored
If provided initial-segment-number option, signal discontinuity so player knows to reset timestamps etc for new segments.
-
Ilkka Ollakka authored
-
Ilkka Ollakka authored
-
- 03 Dec, 2014 4 commits
-
-
Thomas Guillem authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Jean-Baptiste Kempf authored
This mandates 8.1 though
-
Thomas Guillem authored
On android 5.0, PrintMsg blocks on fprintf when stderr is locked by flockfile. This commit adds a default log callback for android in order to fix this issue, and in order to have early logs (before libvlc_log_set is called). Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Thomas Guillem authored
Use it only if specified by --aout arg. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-