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

Submitter:  Andy Tschiersch <tschan>
Submitted:  Mon 02 Oct 2006 10:29:13 PM UTC
   
 
Category:  addressbook Priority:  5 - Normal
Item Group:  0.9.16 (stable) Status:  None
Privacy:  Public Assigned 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/class.uiaddressbook.inc.php

Andy Tschiersch <tschan>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2006-10-02 tschan Attached File- Added addressbook.diff, #10888

Back to the top

Powered by Savane 3.13-081f.
Corresponding source code