Bug 105867

Summary: [EFL][WK2] Invalid use of temporary object in ProcessLauncher::launchProcess()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit EFLAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, kangil.webkit, kenneth, laszlo.gombos, lucas.de.marchi, rakuco, ryuan.choi, tmpsantos, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 105868    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Chris Dumez 2012-12-30 03:20:56 PST
A pointer to the data representation of a temporary object is stored in prefixedExecutablePath.
Comment 1 Chris Dumez 2012-12-30 03:30:29 PST
Created attachment 180952 [details]
Patch
Comment 2 WebKit Review Bot 2012-12-30 03:57:55 PST
Comment on attachment 180952 [details]
Patch

Clearing flags on attachment: 180952

Committed r138574: <http://trac.webkit.org/changeset/138574>
Comment 3 WebKit Review Bot 2012-12-30 03:58:00 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Thiago Marcos P. Santos 2012-12-30 04:44:43 PST
Comment on attachment 180952 [details]
Patch

What is this patch fixing? I failed to see the illegal assignment.
Comment 5 Chris Dumez 2012-12-30 04:45:58 PST
Comment on attachment 180952 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=180952&action=review

> Source/WebKit2/UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:-68
> -        prefixedExecutablePath = prefixedExecutablePathStr.utf8().data();

This line is the what I'm fixing.