From mboxrd@z Thu Jan 1 00:00:00 1970 From: list at eworm.de (Christian Hesse) Date: Mon, 16 Jul 2018 16:41:15 +0200 Subject: [PATCH 1/1] cgitrc: handle value "0" for max-repo-count In-Reply-To: <20180716143850.1726-1-list@eworm.de> References: <20180716143850.1726-1-list@eworm.de> Message-ID: <20180716164115.4ac02916@leda> Christian Hesse on Mon, 2018/07/16 16:38: > From: Christian Hesse > > Setting max-repo-count to "0" makes cgit loop forever generating page > links. Make this a special value to show all repositories. We do parse a lot of values with atoi(value). Is it worth sanitizing all of them? -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);} -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: