[Webkit-unassigned] [Bug 102038] New: [EFL] In ewk_tiled_backing_store_pre_render_region, the 'slicer' may be uninitialized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 12 20:15:20 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=102038

           Summary: [EFL] In ewk_tiled_backing_store_pre_render_region,
                    the 'slicer' may be uninitialized
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit EFL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ktf.kim at samsung.com
                CC: demarchi at webkit.org
            Blocks: 101762


In ewk_tiled_backing_store_pre_render_region, the member variables of 'slicer' are initialized in eina_tile_grid_slicer_setup,
and used in eina_tile_grid_slicer_next.

But, because some of them may be uninitialized, initialize it definitely with memset seems better.

It's for fixing the following build warning :

WebKitBuild/Dependencies/Root/include/eina-1/eina/eina_inline_tiler.x: In function 'bool ewk_tiled_backing_store_pre_render_region(Evas_Object*, Evas_Coord, Evas_Coord, Evas_Coord, Evas_Coord, float)':

WebKitBuild/Dependencies/Root/include/eina-1/eina/eina_inline_tiler.x:82:4: warning: 'slicer._Eina_Tile_Grid_Slicer::tile_w' may be used uninitialized in this function [-Wuninitialized]

Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp:1857:27: note: 'slicer._Eina_Tile_Grid_Slicer::tile_w' was declared here

WebKitBuild/Dependencies/Root/include/eina-1/eina/eina_inline_tiler.x:82:4: warning: 'slicer._Eina_Tile_Grid_Slicer::w2_rel' may be used uninitialized in this function [-Wuninitialized]

Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp:1857:27: note: 'slicer._Eina_Tile_Grid_Slicer::w2_rel' was declared here

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list