diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-01 20:53:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-01 20:53:45 +0000 |
commit | 896d6a8a88861c42b5d531a2f147c8a29a149bd8 (patch) | |
tree | 081fe10813721a96088dca6b54bc35bcac18afc6 /dev-lang/zig-bin/files | |
parent | 3059f20995d5ac642b7b4a38d538fdf1cc45d90d (diff) |
gentoo auto-resync : 01:12:2022 - 20:53:45
Diffstat (limited to 'dev-lang/zig-bin/files')
-rw-r--r-- | dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch b/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch deleted file mode 100644 index 2e87ecc6d6ee..000000000000 --- a/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/ziglang/zig/commit/601d8f721d6dc90ac390bf5ecc7d8bafdd6a30d8 -Bug https://bugs.gentoo.org/829959 - -From 601d8f721d6dc90ac390bf5ecc7d8bafdd6a30d8 Mon Sep 17 00:00:00 2001 -From: Veikka Touminen <git@vexu.eu> -Date: Sun, 10 Jul 2022 04:27:23 -0600 -Subject: [PATCH] std.net.getAddressList: fix segfault on bad hostname - -Fixes #12065 ---- - lib/std/net.zig | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/std/net.zig b/lib/std/net.zig -index 235ad8496a1..c381df9bce7 100644 ---- a/lib/std/net.zig -+++ b/lib/std/net.zig -@@ -731,7 +731,7 @@ pub fn getAddressList(allocator: mem.Allocator, name: []const u8, port: u16) !*A - break :blk result; - }; - const arena = result.arena.allocator(); -- errdefer result.arena.deinit(); -+ errdefer result.deinit(); - - if (builtin.target.os.tag == .windows or builtin.link_libc) { - const name_c = try std.cstr.addNullByte(allocator, name); |