[Webkit-unassigned] [Bug 150544] New: [EFL] Fix inappropriate move semantics use in parseAndRemoveEnvironments function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 25 03:55:13 PDT 2015


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

            Bug ID: 150544
           Summary: [EFL] Fix inappropriate move semantics use in
                    parseAndRemoveEnvironments function
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit EFL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jh718.park at samsung.com
                CC: demarchi at webkit.org

In parseAndRemoveEnvironments function, it declares its paramerter type as rvalue.
But in ProcessLauncher::launchProcess(), the argument of parseAndRemoveEnvironments still be used after the call of the function.
Currently the rvalue is not assigned to any other variable in parseAndRemoveEnvironments,
so it doesn't lead to runtime error but use of move semantic is not appropriate semantically in this case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151025/901f6c12/attachment.html>


More information about the webkit-unassigned mailing list