Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46625 Details for
Bug 75305
bzip2 1.0.2 minor zlib compatibility layer bug (missing NULLptr check)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to bzip2 to fix the issue.
bzclose-nullptr-check.diff (text/plain), 487 bytes, created by
Mihai Limbasan
on 2004-12-22 05:44:08 UTC
(
hide
)
Description:
Patch to bzip2 to fix the issue.
Filename:
MIME Type:
Creator:
Mihai Limbasan
Created:
2004-12-22 05:44:08 UTC
Size:
487 bytes
patch
obsolete
>diff -Naur bzip2-1.0.2-orig/bzlib.c bzip2-1.0.2/bzlib.c >--- bzip2-1.0.2-orig/bzlib.c 2002-01-05 02:48:41.000000000 +0200 >+++ bzip2-1.0.2/bzlib.c 2004-12-22 15:12:52.824593032 +0200 >@@ -1536,9 +1536,12 @@ > void BZ_API(BZ2_bzclose) (BZFILE* b) > { > int bzerr; >- FILE *fp = ((bzFile *)b)->handle; >- >+ FILE *fp; >+ > if (b==NULL) {return;} >+ >+ fp = ((bzFile *)b)->handle; >+ > if(((bzFile*)b)->writing){ > BZ2_bzWriteClose(&bzerr,b,0,NULL,NULL); > if(bzerr != BZ_OK){
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 75305
: 46625