Bug 216569 - net/librsync2: Segfault on rs_search_for_block
Summary: net/librsync2: Segfault on rs_search_for_block
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Bryan Drewery
URL:
Keywords:
: 216543 216572 (view as bug list)
Depends on:
Blocks: 216542
  Show dependency treegraph
 
Reported: 2017-01-29 12:39 UTC by Danilo G. Baio
Modified: 2017-01-30 21:35 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (bdrewery)


Attachments
librsync2-1.patch (1.17 KB, patch)
2017-01-29 12:39 UTC, Danilo G. Baio
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo G. Baio freebsd_committer freebsd_triage 2017-01-29 12:39:50 UTC
Created attachment 179392 [details]
librsync2-1.patch

- Apply a patch from upstream for fix rs_search_for_block bug.

This issue[1] showed up on sysutils/duplicity (bug 216542).

The commit[2] from upstream fixed this.

[1] - https://github.com/librsync/librsync/issues/50
[2] - https://github.com/librsync/librsync/commit/c2daedb5835f5301de50b44add166344e1ef6b02

[Q/A]

portlint: OK (looks fine.)

testport:
   poudriere: i386|amd64 - 10.3 p16     (OK)
   poudriere: i386|amd64 - 11   p7      (OK) 
   poudriere: i386|amd64 - 12   r312672 (OK)
Comment 1 Gary 2017-01-29 15:37:08 UTC
*** Bug 216572 has been marked as a duplicate of this bug. ***
Comment 2 FiLiS 2017-01-30 07:36:59 UTC
*** Bug 216543 has been marked as a duplicate of this bug. ***
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-01-30 21:35:55 UTC
A commit references this bug:

Author: bdrewery
Date: Mon Jan 30 21:34:51 UTC 2017
New revision: 432873
URL: https://svnweb.freebsd.org/changeset/ports/432873

Log:
  - Apply a patch from upstream for fix rs_search_for_block bug [1]
    Fixes a sysutils/duplicity crash [2]

  PR:		216569 [1]
  PR:		216542 [2]
  Obtained from:	https://github.com/librsync/librsync/commit/c2daedb5835f5301de50b44add166344e1ef6b02
  Submitted by:	Danilo G. Baio (dbaio) <dbaio@bsd.com.br>

Changes:
  head/net/librsync2/Makefile
  head/net/librsync2/files/
  head/net/librsync2/files/patch-src_search.c