Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 573144

Summary: =net-libs/librsync-2.0.0 crash in `rs_search_for_block`, missing patch for bisection-search
Product: Gentoo Linux Reporter: lubos.pavlicek
Component: Current packagesAssignee: Alessandro Calorì <alessandro.calori>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 573150    

Description lubos.pavlicek 2016-01-27 17:12:29 UTC
After upgrading to librsync-2.0.0 I always get segfault from burp (backup and restore program):

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb74fd438 in rs_search_for_block () from /usr/lib/librsync.so.2

Issue is described on upstream web: https://github.com/librsync/librsync/issues/50

Patch is available on upstream web: https://github.com/librsync/librsync/pull/59

Burp is working after applying this patch to net-libs-librsync-2.0.0.

I expect that similar problems will have other programs that use the library librsync.
Comment 1 Patrice Clement gentoo-dev 2016-02-01 01:48:31 UTC
commit 3c1ab2f (HEAD, master)
Merge: e44dae0 0e25711
Author: Patrice Clement <monsieurp@gentoo.org>
Date:   Mon Feb 1 01:32:26 2016 +0000

    Merge remote-tracking branch 'github/pr/760'.
    
    Gentoo-Bug: 573144
    PR-Number: https://github.com/gentoo/gentoo/pull/760
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

This PR fixes this issue. Please give it a go.