Package: cargo / 0.66.0+ds1-1

Metadata

Package Version Patches format
cargo 0.66.0+ds1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
2002_disable net tests.patch | (download)

tests/testsuite/git_auth.rs | 4 2 + 2 - 0 !
tests/testsuite/net_config.rs | 4 2 + 2 - 0 !
tests/testsuite/publish.rs | 2 1 + 1 - 0 !
3 files changed, 5 insertions(+), 5 deletions(-)

 disable network tests
2003 workaround qemu vfork command not found.patch | (download)

crates/cargo-test-macro/src/lib.rs | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

---
2200 workaround x32 test.patch | (download)

tests/testsuite/cfg.rs | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
disable fs specific test.patch | (download)

tests/testsuite/metadata.rs | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
0003 tests add missing cross disabled checks.patch | (download)

tests/testsuite/build_script.rs | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 [patch] tests: add missing cross disabled checks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

cross_conmpile::alternate states it should only be used in test cases
after checking cross_compile::disabled(), which is missing here. these
tests fail despite setting CFG_DISABLE_CROSS_TESTS on i386, since both
the host and the alternate cross target would be i686 in that case.

Signed-off-by: Fabian Grnbichler <debian@fabian.gruenbichler.email>

cve/CVE 2022 46176 01 validate ssh host.keys.patch | (download)

Cargo.toml | 7 4 + 3 - 0 !
crates/cargo-test-support/Cargo.toml | 2 1 + 1 - 0 !
src/cargo/sources/git/known_hosts.rs | 439 439 + 0 - 0 !
src/cargo/sources/git/mod.rs | 1 1 + 0 - 0 !
src/cargo/sources/git/utils.rs | 12 11 + 1 - 0 !
src/doc/src/appendix/git-authentication.md | 23 23 + 0 - 0 !
6 files changed, 479 insertions(+), 5 deletions(-)

---
cve/CVE 2022 46176 02 add support for deserializing vec value string.patch | (download)

src/cargo/util/config/de.rs | 107 101 + 6 - 0 !
1 file changed, 101 insertions(+), 6 deletions(-)

---
cve/CVE 2022 46176 03 support configuring ssh known hosts.patch | (download)

src/cargo/sources/git/known_hosts.rs | 57 48 + 9 - 0 !
src/cargo/sources/git/utils.rs | 11 10 + 1 - 0 !
src/cargo/util/config/mod.rs | 19 19 + 0 - 0 !
src/doc/src/appendix/git-authentication.md | 6 4 + 2 - 0 !
src/doc/src/reference/config.md | 38 38 + 0 - 0 !
5 files changed, 119 insertions(+), 12 deletions(-)

---
cve/CVE 2022 46176 04 add some known hosts tests and fix comma bug.patch | (download)

src/cargo/sources/git/known_hosts.rs | 160 148 + 12 - 0 !
1 file changed, 148 insertions(+), 12 deletions(-)

---
cve/CVE 2022 46176 05 remove let else.patch | (download)

src/cargo/sources/git/known_hosts.rs | 7 3 + 4 - 0 !
1 file changed, 3 insertions(+), 4 deletions(-)

---
cve/CVE 2022 46176 06 add test for config value in toml array.patch | (download)

tests/testsuite/config.rs | 58 57 + 1 - 0 !
1 file changed, 57 insertions(+), 1 deletion(-)

---
cve/CVE 2022 46176 07 support hashed hostnames.patch | (download)

Cargo.toml | 2 2 + 0 - 0 !
src/cargo/sources/git/known_hosts.rs | 33 24 + 9 - 0 !
2 files changed, 26 insertions(+), 9 deletions(-)

---
cve/CVE 2022 46176 08 eliminate let else.patch | (download)

src/cargo/sources/git/known_hosts.rs | 24 18 + 6 - 0 !
1 file changed, 18 insertions(+), 6 deletions(-)

---