[Xapian-tickets] [Xapian] #678: Remote backend doesn't work with large databases

Xapian nobody at xapian.org
Fri Sep 25 08:14:23 BST 2015


#678: Remote backend doesn't work with large databases
----------------------------+---------------------------
 Reporter:  matf            |             Owner:  olly
     Type:  defect          |            Status:  closed
 Priority:  normal          |         Milestone:  1.2.22
Component:  Backend-Remote  |           Version:  1.2.20
 Severity:  normal          |        Resolution:  fixed
 Keywords:                  |        Blocked By:
 Blocking:                  |  Operating System:  All
----------------------------+---------------------------
Changes (by olly):

 * status:  assigned => closed
 * resolution:   => fixed


Old description:

> file : net/serialise.cc
> function:    decode_length(const char ** p, const char *end, bool
> check_remaining)
>
> bug:     if (*p == end || shift > 28)
>
> change:   if (*p == end || shift > 28*2)
>
> if database too big, it will fail

New description:

 file : net/serialise.cc
 function:    {{{decode_length(const char ** p, const char *end, bool
 check_remaining)}}}

 bug:     {{{if (*p == end || shift > 28)}}}

 change:   {{{if (*p == end || shift > 28*2)}}}

 if database too big, it will fail

--

Comment:

 Backported to the 1.2 branch in [057edbcd/git].

--
Ticket URL: <http://trac.xapian.org/ticket/678#comment:11>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list