Add EN-16:09 and SA-16:25.
This commit is contained in:
parent
c9b1f99b9e
commit
eb73329f15
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=49164
8 changed files with 371 additions and 0 deletions
13
share/security/patches/SA-16:25/bspatch.patch
Normal file
13
share/security/patches/SA-16:25/bspatch.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- usr.bin/bsdiff/bspatch/bspatch.c.orig
|
||||
+++ usr.bin/bsdiff/bspatch/bspatch.c
|
||||
@@ -164,6 +164,10 @@
|
||||
}
|
||||
|
||||
/* Sanity-check */
|
||||
+ if ((ctrl[0] < 0) || (ctrl[1] < 0))
|
||||
+ errx(1,"Corrupt patch\n");
|
||||
+
|
||||
+ /* Sanity-check */
|
||||
if(newpos+ctrl[0]>newsize)
|
||||
errx(1,"Corrupt patch\n");
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue