diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-07 04:34:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-07 04:34:29 +0100 |
commit | 1ccef27203b03f1fa900c9b44dc425df27e49452 (patch) | |
tree | 9c98577fb64ec98520e2d39857ab6f917e8fa460 /net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch | |
parent | c4b3d05f2d4415c0d6f135a3ea0d2055d6e055b5 (diff) |
gentoo auto-resync : 07:09:2022 - 04:34:29
Diffstat (limited to 'net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch')
-rw-r--r-- | net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch b/net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch deleted file mode 100644 index 7c6c2d6dae69..000000000000 --- a/net-irc/eggdrop/files/eggdrop-1.8.4-fix-array-bounds-warning.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/flags.c b/src/flags.c -index 8cecd2898..3f0a7ea32 100644 ---- a/src/flags.c -+++ b/src/flags.c -@@ -403,7 +403,10 @@ void break_down_flags(const char *string, struct flag_record *plus, - which = plus; - mode++; - if ((mode == 2) && !(flags & (FR_CHAN | FR_BOT))) -- string = ""; -+ goto breakout; /* string = ""; does not work here because we need to -+ break out of while() / nested switch(), see -+ "string++;" below and string = "\0"; is worse than -+ goto */ - else if (mode == 3) - mode = 1; - break; -@@ -447,6 +450,7 @@ void break_down_flags(const char *string, struct flag_record *plus, - } - string++; - } -+breakout: - for (which = plus; which; which = (which == plus ? minus : 0)) { - which->global &=USER_VALID; - |