0ce2cf9d2d
"Vulnerabilities in Berkeley MPEG Tools can be exploited by malicious, local users to perform certain actions on a vulnerable system with escalated privileges. The vulnerabilities are caused due to temporary files being created insecurely in "/tmp." http://secunia.com/advisories/17008/ http://www.gentoo.org/security/en/glsa/glsa-200510-02.xml Patches from Gentoo.
19 lines
529 B
Text
19 lines
529 B
Text
$NetBSD: patch-ae,v 1.2 2005/10/05 11:45:46 salo Exp $
|
|
|
|
--- ../convert/jmovie2jpeg.c.orig 1995-01-20 00:29:24.000000000 +0000
|
|
+++ ../convert/jmovie2jpeg.c
|
|
@@ -283,12 +283,12 @@ static char inbuffer[300000] = {
|
|
if (fread (&(image_offset),sizeof(int),1,inFile) != 1)
|
|
{
|
|
perror("Error in reading image offset");
|
|
- exit();
|
|
+ exit(1);
|
|
}
|
|
if (fread (&(audio_tracks),sizeof(int),1,inFile) != 1)
|
|
{
|
|
perror("Error in reading audio tracks");
|
|
- exit();
|
|
+ exit(1);
|
|
}
|
|
if (audio_tracks != 1)
|
|
{
|