Patch bzip2 against CVE-2016-3189
This commit is contained in:
parent
e9362d4ff7
commit
552730bfa3
|
@ -0,0 +1,12 @@
|
|||
diff --git a/bzip2recover.c b/bzip2recover.c
|
||||
index f9de049..252c1b7 100644
|
||||
--- a/bzip2recover.c
|
||||
+++ b/bzip2recover.c
|
||||
@@ -457,6 +457,7 @@ Int32 main ( Int32 argc, Char** argv )
|
||||
bsPutUChar ( bsWr, 0x50 ); bsPutUChar ( bsWr, 0x90 );
|
||||
bsPutUInt32 ( bsWr, blockCRC );
|
||||
bsClose ( bsWr );
|
||||
+ outFile = NULL;
|
||||
}
|
||||
if (wrBlock >= rbCtr) break;
|
||||
wrBlock++;
|
|
@ -44,6 +44,7 @@ build do
|
|||
|
||||
patch source: 'makefile_take_env_vars.patch', env: env
|
||||
patch source: 'soname_install_dir.patch', env: env if mac_os_x?
|
||||
patch source: 'CVE-2016-3189.patch', env: env
|
||||
|
||||
make args.to_s, env: env
|
||||
make "#{args} -f Makefile-libbz2_so", env: env
|
||||
|
|
Loading…
Reference in New Issue