From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from resqmta-ch2-11v.sys.comcast.net (resqmta-ch2-11v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:43]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 1E0FB77AA1 for ; Tue, 10 Sep 2019 01:13:14 -0700 (PDT) Received: from resomta-ch2-09v.sys.comcast.net ([69.252.207.105]) by resqmta-ch2-11v.sys.comcast.net with ESMTP id 7bGki3wRxERJZ7bGzitSkd; Tue, 10 Sep 2019 08:13:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1568103193; bh=3CD7L6YXPPOlxHn1dydg5ZdVuf7jVA69ybesSjxhDHk=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=UNdkgT8wVZJWYruw5XaTGomiONxbGayc/FdepYKrr6gHAKi67VZNzqOEh4N8bPP24 JbK4PGyBEQ13YLikhdZoH//a+NHhFneIRGJbw5sPUZ8ovQ+eSiLem/+dKQyMkPbpzJ ARqP72TqGbAmdOqEwo3Dgb4KWdXGh1Oh0un5yi1mRjOkhVtIPJFiOdpg8pNErIiOTG WPKHHptY1VfCz05BVk5Frm+E1kjIEtGHCRzYdV9Uq690/+z4pj14zNI2Xdfuh47XFZ 7REJRpGXCZXvK/bqmesE8covujQVWCWYvxaj4obRRsuWBxzOmOdn19zEvJBou/2Y4f gu+0cwNJY9JuA== Received: from unknown ([IPv6:2601:408:c303:3f49:21e:4fff:fec2:a0f1]) by resomta-ch2-09v.sys.comcast.net with ESMTPSA id 7bGxiM2ytsv0O7bGyiflEY; Tue, 10 Sep 2019 08:13:12 +0000 X-Xfinity-VMeta: sc=0;st=legit To:edbrowse-dev@edbrowse.org From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Subject: [edbrowse-dev] infinite loop Date: Tue, 10 Sep 2019 04:13:11 -0400 Message-ID: <20190810041311.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit This is so absurd that I just have to give up and move on to something else. https://kutv.com/news/offbeat/vegan-sues-neighbors-over-smell-of-barbecued-meat-in-their-backyards references https://tagan.adlightning.com/sinclair/blacklist_script.js which contains this code, slightly cleaned up for readability. setCookie: function (a, w1, w2, extra) { extra = extra || {}; var w = w1 + '=' + w2; var c = 0; for (var i = 0, l = a['length']; i < l; i++) { var e = a[i]; w += '; ' + e; var f = a[e]; a['push'](f); l = a['length']; if (f !== !![]) { w += '=' + f; } } extra['cookie'] = w; } Then invoked like this. setCookie(['*'], 'counter', 1); As long as it is called with a nonzero array, it pushes undefined onto the array forever, incrementing l and i forever, an infinite loop. Is it not? Even if it wasn't, the code makes no sense. c is set but not used. The whol calculation puts cookie in a local object that is then thrown away. WTF I wonder if this site comes up in a real browser, and how it possibly could! Maybe it's bogus untested code that we're not suppose to be running at all, and other browsers don't run it but for some reason edbrowse does. I don't know I'm sort of grasphing. As I say I'll probably just write this one off for now unless you all have some insight. Karl Dahlke