<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15383</bug_id>
          
          <creation_ts>2024-02-05 11:25:23 +0000</creation_ts>
          <short_desc>rsync: The fix for CVE-2022-29154 introduced a bug that causes rsync to hang forever with --relative</short_desc>
          <delta_ts>2024-04-25 14:42:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>3.1.31</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.1.33</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthias Schmitz">matthias.schmitz</reporter>
          <assigned_to name="Matthias Schmitz">matthias.schmitz</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>simone.p.weiss</cc>
    
    <cc>steve</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98127</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias Schmitz">matthias.schmitz</who>
    <bug_when>2024-02-05 11:25:23 +0000</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98128</commentid>
    <comment_count>1</comment_count>
    <who name="Matthias Schmitz">matthias.schmitz</who>
    <bug_when>2024-02-05 11:31:22 +0000</bug_when>
    <thetext>To reproduce the issue, build a standard image including rsync and ssh (eg dropbear) and
try to rsync data with the following command line

rsync -v --relative user@somehost:/tmp/somefile  /tmp/

The issue was also reported upstream an already fixed. 
https://github.com/WayneD/rsync/issues/346


As fix for our Dunfell based distro I added this diff (as a patch via .bbappend) :

https://github.com/WayneD/rsync/commit/fabef23bea6e9963c06e218586fda1a823e3c6bf.diff</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98132</commentid>
    <comment_count>2</comment_count>
    <who name="Simone Weiß">simone.p.weiss</who>
    <bug_when>2024-02-05 16:57:38 +0000</bug_when>
    <thetext>Hi Matthias, I saw you sent a patch already. I&apos;ll assign it back to you. Hint there were patchtest issues. Should you need any help for the patchtest, feel free to ping me. (I assume from the list this is your first submission, excuse me if this is not the case. I am also new here :))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98134</commentid>
    <comment_count>3</comment_count>
    <who name="Matthias Schmitz">matthias.schmitz</who>
    <bug_when>2024-02-05 19:08:43 +0000</bug_when>
    <thetext>Hi Simone,

you guessed right, that is my first encounter with yoctoprotjects bugzilla &amp; first patch i sent. 

I just reworked my patch, lets see if patchtest ist now happy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98917</commentid>
    <comment_count>4</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2024-04-25 14:42:43 +0000</bug_when>
    <thetext>Fixed:

https://git.yoctoproject.org/poky/commit/?h=dunfell&amp;id=c846f0d89c71ed31b8fc486fd1350bd83d1ea071</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>