[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] [bug #37166] memp_sanity check loops itself
From: |
Philipp Tölke |
Subject: |
Re: [lwip-devel] [bug #37166] memp_sanity check loops itself |
Date: |
Wed, 22 Aug 2012 15:27:39 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
Am 22.08.2012 15:22, schrieb Simon Goldschmidt:
> I'll fix it by adding another counter that checks that considers "memp_num" as
> maximum loop count.
I think the right way to do this would be "Floyd's Cycle-Finding
Algorithm"
(http://en.wikipedia.org/wiki/Floyd%27s_cycle-finding_algorithm#Tortoise_and_hare).
Regards,
--
Philipp Tölke, M.Sc. - Software-Developer - fos4X GmbH - www.fos4x.de
Thalkirchner Str. 210, Geb. 6 - D-81371 München; AG München HRB 189 218
T +49 89 999 542 58 - F +49 89 999 542 01
Managing Directors: Dr. Lars Hoffmann, Dr. Mathias Müller