FreeBSD Bugzilla – Attachment 179396 Details for
Bug 216572
net/librsync2: add patch from upstream to fix coredump problem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to net/librsync2
librsync2.patch (text/plain), 814 bytes, created by
Gary
on 2017-01-29 14:32:28 UTC
(
hide
)
Description:
Patch to net/librsync2
Filename:
MIME Type:
Creator:
Gary
Created:
2017-01-29 14:32:28 UTC
Size:
814 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 432606) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= librsync > PORTVERSION= 2.0.0 >+PORTREVISION= 1 > DISTVERSIONPREFIX=v > CATEGORIES= net devel > PKGNAMESUFFIX= 2 >Index: files/patch-src_search.c >=================================================================== >--- files/patch-src_search.c (nonexistent) >+++ files/patch-src_search.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/search.c.orig 2017-01-28 18:17:02.940780065 +0000 >++++ src/search.c 2017-01-28 18:17:32.544778185 +0000 >+@@ -218,7 +218,7 @@ >+ r = m; >+ } >+ >+- if (l == r) { >++ if ((l == r) && (l <= bucket->r)) { >+ int i = sig->targets[l].i; >+ rs_block_sig_t *b = &(sig->block_sigs[i]); >+ if (weak_sum != b->weak_sum) >
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 216572
: 179396