From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Can anyone help with GNAT.Perfect_Hash_Generators ? (Possible memory corruption) Date: Thu, 8 Sep 2016 12:08:34 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <397dd8cb-2afc-43cd-972d-3b1a5a90cd5d@googlegroups.com> <877fao24da.fsf@mid.deneb.enyo.de> <0b79fce9-b898-4a1c-91fb-ca41e87b4dd5@googlegroups.com> <08e0581a-30f1-4cc5-972c-2d6c539d9df6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 8 Sep 2016 19:08:41 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="6df4b173985f7c5c043cea362c370ff7"; logging-data="19537"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18N309fVYEOeuBMvG2+9ydYCb/O3+JSnGg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <08e0581a-30f1-4cc5-972c-2d6c539d9df6@googlegroups.com> Cancel-Lock: sha1:lakea5oSY+84DheqlFAjQ/Qj9uQ= Xref: news.eternal-september.org comp.lang.ada:31733 Date: 2016-09-08T12:08:34-07:00 List-Id: On 09/08/2016 11:03 AM, Anh Vo wrote: > On Thursday, September 8, 2016 at 10:04:06 AM UTC-7, Simon Wright wrote: >> Anh Vo writes: >> >>> Then, what would be the proper fix? >> >> To what? If you mean the apparent bug in GNAT.Perfect_Hash_Generators > > Yes. Clearly it needs to have the assumption, that all Strings have a lower bound of 1, eliminated. -- Jeff Carter "English bed-wetting types." Monty Python & the Holy Grail 15