[Rpm-maint] [rpm-software-management/rpm] rpm2archive segfaults if URL is given (#1091)

Igor Gnatenko notifications at github.com
Sat Feb 29 12:37:12 UTC 2020


```
           PID: 198189 (rpm2archive)
           UID: 1000 (brain)
           GID: 1000 (brain)
        Signal: 11 (SEGV)
     Timestamp: Sat 2020-02-29 13:35:39 CET (1min 2s ago)
  Command Line: rpm2archive https://jistone.fedorapeople.org/review//rust-cargo-platform-0.1.0-1.fc33.src.rpm
    Executable: /usr/bin/rpm2archive
 Control Group: /user.slice/user-1000.slice/user at 1000.service/vte-spawn-f7e2e0b4-7f3c-432f-a83f-04b1f64da31c.scope
          Unit: user at 1000.service
     User Unit: vte-spawn-f7e2e0b4-7f3c-432f-a83f-04b1f64da31c.scope
         Slice: user-1000.slice
     Owner UID: 1000 (brain)
       Boot ID: 5ed3cba3c4f04ce3bc4e08acb4f8194d
    Machine ID: 6b8a1e0b45614719a73efb4392cc0ef5
      Hostname: konsky-kokot.localdomain
       Storage: /var/lib/systemd/coredump/core.rpm2archive.1000.5ed3cba3c4f04ce3bc4e08acb4f8194d.198189.1582979739000000000000.lz4
       Message: Process 198189 (rpm2archive) of user 1000 dumped core.
                
                Stack trace of thread 198189:
                #0  0x00007f5dbbc7dc24 __archive_write_filter (libarchive.so.13 + 0x6ec24)
                #1  0x00007f5dbbc7dcbc __archive_write_nulls (libarchive.so.13 + 0x6ecbc)
                #2  0x00007f5dbbc7d766 _archive_write_close (libarchive.so.13 + 0x6e766)
                #3  0x0000556f52a50d64 main (rpm2archive + 0x2d64)
                #4  0x00007f5dbba6c052 __libc_start_main (libc.so.6 + 0x27052)
                #5  0x0000556f52a50fbe _start (rpm2archive + 0x2fbe)
```

I did not install debugdata, but I think it is probably not needed with such simple reproducer :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1091
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200229/33df2e7a/attachment.html>


More information about the Rpm-maint mailing list