]> git.pld-linux.org Git - packages/mp4v2.git/blob - format-security.patch
- fix -Wformat-security errors
[packages/mp4v2.git] / format-security.patch
1 --- mp4v2-1.9.1/src/mp4file.cpp~        2009-07-14 01:07:12.000000000 +0200
2 +++ mp4v2-1.9.1/src/mp4file.cpp 2012-11-13 14:19:21.505940224 +0100
3 @@ -2580,7 +2580,7 @@
4      GetChapters(&chapters, &chapterCount, sourceType);
5      if (0 == chapterCount)
6      {
7 -        VERBOSE_READ(GetVerbosity(), printf(errMsg));
8 +        VERBOSE_READ(GetVerbosity(), printf("%s", errMsg));
9          return MP4ChapterTypeNone;
10      }
11  
12 --- mp4v2-1.9.1/src/mp4property.cpp~    2009-07-14 01:07:11.000000000 +0200
13 +++ mp4v2-1.9.1/src/mp4property.cpp     2012-11-13 14:20:00.485938846 +0100
14 @@ -619,7 +619,7 @@
15  
16          oss << "  |" << text.str() << "|\n";
17  
18 -        fprintf( pFile, oss.str().c_str() );
19 +        fprintf( pFile, "%s", oss.str().c_str() );
20          fflush( pFile );
21          return;
22      }
This page took 0.068531 seconds and 3 git commands to generate.