Buffer overflow bug on Ubuntu 24.04
hello,
after upgrading ubuntu to version 24.04, rtorrent crashes with a "Buffer Overflow" error. This seems to be due to increased security on the new version of Ubuntu. A similar problem has already occurred with the Opensuse distribution, as shown in the link: https://github.com/rakshasa/rtorrent/pull/1169.
How can I use rtorrent again with Ubuntu 24.04?
This bug is tracked at https://bugs.launchpad.net/ubuntu/+source/rtorrent/+bug/2063110
I have created a PPA which patches rtorrent here https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110
This bug is tracked at https://bugs.launchpad.net/ubuntu/+source/rtorrent/+bug/2063110
I have created a PPA which patches rtorrent here https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110
You are a life saver, my friend! I have upgraded my home server yo 24.04 and have had the same issue with Buffer Overflow error. Your patch solved it.
Thanks a lot!
This bug is tracked at https://bugs.launchpad.net/ubuntu/+source/rtorrent/+bug/2063110
I have created a PPA which patches rtorrent here https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110
Absolutely saved me too. Many thanks.
This bug is tracked at https://bugs.launchpad.net/ubuntu/+source/rtorrent/+bug/2063110
I have created a PPA which patches rtorrent here https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110
Thanks for your reply. rtorrent works perfectly with your patch. Does this version work with arm64 architecture?
Are arm64 systems affected by Ubuntu 24.04 buffer overflow detection?
This bug is tracked at https://bugs.launchpad.net/ubuntu/+source/rtorrent/+bug/2063110 I have created a PPA which patches rtorrent here https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110
Thanks for your reply. rtorrent works perfectly with your patch. Does this version work with arm64 architecture?
Are arm64 systems affected by Ubuntu 24.04 buffer overflow detection?
Good point! The amd64 build only works for that architecture. arm64 seems affected as well (tested it on raspberry pi 4) so i created added arm64 build to the PPA as well:
https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110/+files/rtorrent_0.9.8-1build4~ppa1_arm64.deb
Thanks a lot guy. You're the dude ! I'll do that right away.
This bug is tracked at https://bugs.launchpad.net/ubuntu/+source/rtorrent/+bug/2063110 I have created a PPA which patches rtorrent here https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110
Thanks for your reply. rtorrent works perfectly with your patch. Does this version work with arm64 architecture? Are arm64 systems affected by Ubuntu 24.04 buffer overflow detection?
Good point! The amd64 build only works for that architecture. arm64 seems affected as well (tested it on raspberry pi 4) so i created added arm64 build to the PPA as well:
https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110/+files/rtorrent_0.9.8-1build4~ppa1_arm64.deb
Hi, is it possible to have the patch for arm v6 v7, thanks
This bug is tracked at https://bugs.launchpad.net/ubuntu/+source/rtorrent/+bug/2063110 I have created a PPA which patches rtorrent here https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110
Thanks for your reply. rtorrent works perfectly with your patch. Does this version work with arm64 architecture? Are arm64 systems affected by Ubuntu 24.04 buffer overflow detection?
Good point! The amd64 build only works for that architecture. arm64 seems affected as well (tested it on raspberry pi 4) so i created added arm64 build to the PPA as well: https://launchpad.net/~fougner/+archive/ubuntu/noble-fix-buffer-overflow-2063110/+files/rtorrent_0.9.8-1build4~ppa1_arm64.deb
Hi, is it possible to have the patch for arm v6 v7, thanks
I've now added armhf architecture to the PPA as well. I don't think v6 is officially supported in Ubuntu, and there are no other architectures for me to choose from, but hopefully armhf is enough for your usecase.
I get buffer overflow even with your PPA on ubuntu 24.04.01
I get buffer overflow even with your PPA on ubuntu 24.04.01
Are you sure the package got upgraded correctly? The fix is already in the official noble-proposed repo, you could try to just download the deb file from there and upgrade it manually.
Whats the output of apt-cache policy rtorrent after you added my repo?
Are you sure the package got upgraded correctly?
You are right, probably it did not (though I tried to remove, re add, reinstall etc...). Though it said that it did. Not sure what was wrong. What helped is that I cloned the underlying noble repo with the source code and compiled and installed.
Closing as a fix is already merged.