OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Incoming/8793
Full headers

From: i@maskray.me
Subject: [PATCH] Fix comment in lmdb: greater -> less
Compose comment
Download message
State:
0 replies:
2 followups: 1 2

Major security issue: yes  no

Notes:

Notification:


Date: Sat, 16 Dec 2017 08:19:47 +0000
From: i@maskray.me
To: openldap-its@OpenLDAP.org
Subject: [PATCH] Fix comment in lmdb: greater -> less
Full_Name: Fangrui Song
Version: 2.4.45
OS: Linux
URL: ftp://ftp.openldap.org/incoming/fangrui-song-171216.patch
Submission from: (NULL) (24.130.65.8)


ID Lists are in decreasing order and the search algorithms actually find the
first ID less than or equal to the argument.

Followup 1

Download message
Subject: Re: (ITS#8793) [PATCH] Fix comment in lmdb: greater -> less
To: i@maskray.me, openldap-its@OpenLDAP.org
From: Howard Chu <hyc@symas.com>
Date: Sat, 16 Dec 2017 11:30:00 +0000
i@maskray.me wrote:
> Full_Name: Fangrui Song
> Version: 2.4.45
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/fangrui-song-171216.patch
> Submission from: (NULL) (24.130.65.8)
> 
> 
> ID Lists are in decreasing order and the search algorithms actually find
the
> first ID less than or equal to the argument.

Wrong.

Closing this ITS.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



Followup 2

Download message
Date: Sat, 16 Dec 2017 09:01:59 -0800
From: Fangrui Song <i@maskray.me>
To: openldap-its@openldap.org
Subject: ITS#8793
> Wrong.

> Closing this ITS.

Sorry but can you re-visit this please?

Suppose a MDB_IDL points to [5, 9,7,5,3,1] where the first element denotes the
number of elements.

[-inf, 1) => position 6; the first element less than or equal to 1 does
             not exist, thus it points outside of the list
[1,3) => position 5
[3,5) => position 4
[5,7) => position 3
[7,9) => position 2
[9,inf) => position 1


Thanks!


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org