Fix format security compilation warning in GCC-8.
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -7,6 +7,7 @@ dvdisaster (0.79.5-7) UNRELEASED; urgency=medium
|
|||||||
* Build as verbosely as possible.
|
* Build as verbosely as possible.
|
||||||
* Fix location of manual.
|
* Fix location of manual.
|
||||||
* Fix dh_auto_build overrides to take advantage of parallel builds.
|
* Fix dh_auto_build overrides to take advantage of parallel builds.
|
||||||
|
* Fix format security compilation warning in GCC-8.
|
||||||
|
|
||||||
-- Carlos Maddela <e7appew@gmail.com> Thu, 31 Jan 2019 03:58:19 +1100
|
-- Carlos Maddela <e7appew@gmail.com> Thu, 31 Jan 2019 03:58:19 +1100
|
||||||
|
|
||||||
|
|||||||
27
debian/patches/34-gcc8-format-security.patch
vendored
Normal file
27
debian/patches/34-gcc8-format-security.patch
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
From: Carlos Maddela <e7appew@gmail.com>
|
||||||
|
Date: Thu, 31 Jan 2019 05:10:21 +1100
|
||||||
|
Subject: Fix format security warning in GCC-8.
|
||||||
|
|
||||||
|
Description: Fix format security warning in GCC-8.
|
||||||
|
Author: Carlos Maddela <e7appew@gmail.com>
|
||||||
|
Forwarded: no
|
||||||
|
Last-Update: 2019-01-31
|
||||||
|
---
|
||||||
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||||
|
---
|
||||||
|
udf.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/udf.c b/udf.c
|
||||||
|
index ef02c6d..01a47a3 100644
|
||||||
|
--- a/udf.c
|
||||||
|
+++ b/udf.c
|
||||||
|
@@ -794,7 +794,7 @@ void FreeIsoHeader(IsoHeader *ih)
|
||||||
|
|
||||||
|
void AddFile(IsoHeader *ih, char *name, guint64 size)
|
||||||
|
{ static int n;
|
||||||
|
- char iso[20], joliet[strlen(name)+3];
|
||||||
|
+ char iso[22], joliet[strlen(name)+3];
|
||||||
|
|
||||||
|
n++;
|
||||||
|
sprintf(iso,"RAN_%04d.DAT;1", n);
|
||||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -25,3 +25,4 @@
|
|||||||
31-improve-hurd-and-kfreebsd-support.patch
|
31-improve-hurd-and-kfreebsd-support.patch
|
||||||
32-display-compilation-commands.patch
|
32-display-compilation-commands.patch
|
||||||
33-honour-LDFLAGS.patch
|
33-honour-LDFLAGS.patch
|
||||||
|
34-gcc8-format-security.patch
|
||||||
|
|||||||
Reference in New Issue
Block a user