diff options
Diffstat (limited to 'meta/recipes-extended/screen/screen-4.0.3')
-rw-r--r-- | meta/recipes-extended/screen/screen-4.0.3/screen-4.0.2-CVE-2009-1215.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/screen/screen-4.0.3/screen-4.0.2-CVE-2009-1215.patch b/meta/recipes-extended/screen/screen-4.0.3/screen-4.0.2-CVE-2009-1215.patch new file mode 100644 index 0000000000..538a8fa3b2 --- /dev/null +++ b/meta/recipes-extended/screen/screen-4.0.3/screen-4.0.2-CVE-2009-1215.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | This patch is a backport from screen_4.0.3-11+lenny1.diff | ||
4 | to fix CVE-2009-1215. | ||
5 | |||
6 | Signed-off-by: Shenbo Huang<shenbo.huang@windriver.com) | ||
7 | --- | ||
8 | properly by keeping the umask instead of dropping | ||
9 | the 'public exchange file' concept. Modify dpatch 22. | ||
10 | <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521123> | ||
11 | --- | ||
12 | fileio.c | 5 ----- | ||
13 | 1 file changed, 5 deletions(-) | ||
14 | --- a/fileio.c | ||
15 | +++ b/fileio.c | ||
16 | @@ -365,11 +365,6 @@ int dump; | ||
17 | char *mode = "w"; | ||
18 | #ifdef COPY_PASTE | ||
19 | int public = 0; | ||
20 | -# ifdef _MODE_T | ||
21 | - mode_t old_umask; | ||
22 | -# else | ||
23 | - int old_umask; | ||
24 | -# endif | ||
25 | # ifdef HAVE_LSTAT | ||
26 | struct stat stb, stb2; | ||
27 | int fd, exists = 0; | ||