patchphpGroupWare - Patches: patch #5438, addressbook produce a endless loop


You are not allowed to post comments on this tracker with your current authentication level.

patch #5438: addressbook produce a endless loop

Submitted by:  Andy Tschiersch <tschan>
Submitted on:  Mon 02 Oct 2006 10:29:13 PM UTC  
Category: addressbookPriority: 5 - Normal
Item Group: 0.9.16 (stable)Status: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon 02 Oct 2006 10:29:13 PM UTC, original submission:

Target Branch: 0.9.16, HEAD
Purpose: Under PHP5 the addressbook loads endless or until max_execution_time is reached.

Bug is locatet on line 464:
while ($column = @each(($all_cols_to_display)))

The array cursor was not increased.
Have found 2 working solutions.

Solution 1 (used in this patch):
while ($column = @each($all_cols_to_display))

Solution 2: (without @)
while ($column = each(($all_cols_to_display)))

Format: diff
Affected file: /addressbook/inc/

Andy Tschiersch <tschan>


Attached Files
file #10888:  addressbook.diff added by tschan (588B - application/octet-stream - run 'patch -p1 < addressbook.diff' under phpgroupware dir)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Mon 02 Oct 2006 10:29:13 PM UTCtschanAttached File-=>Added addressbook.diff, #10888

Back to the top

Powered by Savane 3.1-cleanup1