Revision 710854

Go back to digest for 16th September 2007

Bug Fixes in KDE Base

Maks Orlovich committed changes in /trunk/KDE/kdelibs:

Remove invalid optimization: it's not safe to direct-write to propery map and array slots, since after evaluation of the LHS reference the RHS may expand those, causing rehash/copy/etc.

Credit to Maciej from Apple for pointing out this problem.

File Changes

Modified 8 files
  • /trunk/KDE/kdelibs
  •   /kjs/array_object.cpp
  •   /kjs/function.cpp
  •   /kjs/object.h
  •   /kjs/property_map.cpp
  •   /kjs/property_map.h
  •   /kjs/property_slot.h
  •   /khtml/ecma/kjs_html.cpp
  •   /khtml/ecma/kjs_window.cpp
8 files changed in total