FreeBSD Bugzilla – Attachment 179392 Details for
Bug 216569
net/librsync2: Segfault on rs_search_for_block
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
librsync2-1.patch
librsync2-1.patch (text/plain), 1.17 KB, created by
Danilo G. Baio
on 2017-01-29 12:39:50 UTC
(
hide
)
Description:
librsync2-1.patch
Filename:
MIME Type:
Creator:
Danilo G. Baio
Created:
2017-01-29 12:39:50 UTC
Size:
1.17 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 432568) >+++ Makefile (working copy) >@@ -4,6 +4,7 @@ > PORTNAME= librsync > PORTVERSION= 2.0.0 > DISTVERSIONPREFIX=v >+PORTREVISION= 1 > 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,12 @@ >+# https://github.com/librsync/librsync/pull/59/files >+--- src/search.c.orig 2015-11-29 20:43:12 UTC >++++ src/search.c >+@@ -218,7 +218,7 @@ rs_search_for_block(rs_weak_sum_t weak_s >+ 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) > >Property changes on: files/patch-src_search.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 216569
: 179392