Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2020-01-16 Thread Ximin Luo
Bernhard R. Link: > * Ximin Luo [191223 12:58]: >> dpkg and all other debian tools support it right now. It is only reprepro >> with this artifical constraint, which makes it not work for packages that >> are processable by dpkg and other debian tools. > > If it is artifical, then it is

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-12-23 Thread Bernhard R. Link
* Ximin Luo [191223 12:58]: > dpkg and all other debian tools support it right now. It is only reprepro > with this artifical constraint, which makes it not work for packages that are > processable by dpkg and other debian tools. If it is artifical, then it is artifically high. It is 128 times

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-12-23 Thread Ximin Luo
Bernhard R. Link: > [..] > > As the comment describes, accepting arbitrary long control data would > open all kind of security issues and require quite some hard to properly > test code. Most of the attacks enabled by having longer control chunks > might be able to mitigated some way, but that

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-12-23 Thread Bernhard R. Link
* Ximin Luo [191223 09:16]: > A long-term fix would be to fix this: > > line 151-166: > if (f->size - f->ofs <= 2048) { > /* Adding code to enlarge the buffer in this case >* is risky as hard to test properly. >*

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-12-22 Thread Ximin Luo
Control: reassign -1 reprepro 5.3.0-1 Control: retitle -1 reprepro imposes arbitrary limits on control files that are successfully parsed by other debian tools Ximin Luo: > [..] > I'll take a look at reprepro in the next 2-3 weeks; arbitrary limits like > 256K should be pretty easy to fix (have

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-10-17 Thread Raphael Hertzog
Hello Ximin, On Thu, 17 Oct 2019, Ximin Luo wrote: > >> Do you have some concrete suggestions on how to improve the tool to reduce > >> this "abuse"? > > > > Yes, I gave you one. > > It doesn't work. Look, I'm not a cargo/rust expert, I won't design the tool for you but I implemented

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-10-17 Thread Ansgar
Ximin Luo writes: > Raphael Hertzog: >> Don't abuse the "Provides" field when you have such a volume of >> interfaces to document. > > Can you please explain why 256 KB provides field is "abuse"? The Packages index is a shared resource by all packages and every Debian user has to download and

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-10-17 Thread Ximin Luo
Raphael Hertzog: > On Thu, 17 Oct 2019, Ximin Luo wrote: >> Can you please explain why 256 KB provides field is "abuse"? > > Because that's the amount of metadata required for 250 common packages. > So? There are some Debian packages that have much more than 250 times the data of common

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-10-17 Thread Raphael Hertzog
On Thu, 17 Oct 2019, Ximin Luo wrote: > Can you please explain why 256 KB provides field is "abuse"? Because that's the amount of metadata required for 250 common packages. > Do you have some concrete suggestions on how to improve the tool to reduce > this "abuse"? Yes, I gave you one. > BTW,

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-10-17 Thread Ximin Luo
Ximin Luo: > Raphael Hertzog: >> On Thu, 17 Oct 2019, Ximin Luo wrote: >>> Control: tags -1 + wontfix >> >> This is clearly not acceptable. You can't ignore problems like this one. >> I saw you already broke debian-installer once with the former packages >> that overflowed the 16K limit of

Bug#942487: [Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

2019-10-17 Thread Ximin Luo
Raphael Hertzog: > On Thu, 17 Oct 2019, Ximin Luo wrote: >> Control: tags -1 + wontfix > > This is clearly not acceptable. You can't ignore problems like this one. > I saw you already broke debian-installer once with the former packages > that overflowed the 16K limit of cdebootstrap. Now it's