X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=main.c;h=c774283460b483d54aa3949b75f20dafb21e9a58;hp=56bbeb4f4a6da67877cfc519517e2219cd30a14d;hb=203e950e3d3c76795fa49895d040f732adad2049;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/main.c b/main.c index 56bbeb4..c774283 100644 --- a/main.c +++ b/main.c @@ -4,6 +4,10 @@ * Copyright (C) 1999-2002 Thomas Roessler * Copyright (C) 2004 g10 Code GmbH * + * Parts written/modified by: + * Nico Golde + * Andreas Krennmair + * * This file is part of mutt-ng, see http://www.muttng.org/. * It's licensed under the GNU General Public License, * please see the file GPL in the top level source directory. @@ -61,8 +65,10 @@ Copyright (C) 1997-2002 Thomas Roessler \n\ Copyright (C) 1998-2002 Werner Koch \n\ Copyright (C) 1999-2002 Brendan Cully \n\ Copyright (C) 1999-2002 Tommi Komulainen \n\ -Copyright (C) 2000-2002 Edmund Grimley Evans \n\ -Copyright (C) 2004-2005 Andreas Krennmair \n\ +Copyright (C) 2000-2002 Edmund Grimley Evans \n\n\ +Parts were written/modified by:\n\ +Andreas Krennmair \n\ +Nico Golde \n\ \n\ Lots of others not mentioned here contributed lots of code,\n\ fixes, and suggestions.\n\ @@ -548,7 +554,12 @@ int main (int argc, char **argv) alias_queries = mutt_add_list (alias_queries, optarg); break; case 'a': - attach = mutt_add_list (attach, optarg); + if (strlen(optarg)<=512) + attach = mutt_add_list (attach, optarg); + else{ + printf("too long arguments. exiting ...\n"); + exit(1); + } break; case 'F':