bugGnash - The GNU Flash player - Bugs: bug #19695, character::get_text_value() return...

 
 

bug #19695: character::get_text_value() return address of local variable

Submitted by:  Sandro Santilli <strk>
Submitted on:  Wed 25 Apr 2007 10:47:49 AM UTC  
 
Category: ActionScriptSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 26 Apr 2007 06:22:53 AM UTC, comment #1:

I'm changing the get_text_value interface to return a std::string by value. Always.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 25 Apr 2007 10:47:49 AM UTC, original submission:

This bug has been introduced when moving the getTarget and getTargetPath methods from sprite_instance to character and in particular while dropping the cached value for them.
Returning by const-ref_or_pointer was good if we cached that value, since we don't cache it anymore now, we can't return that address !

Sandro Santilli <strk>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 27 Apr 2007 01:04:22 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
      Carbon-Copy-=>Added udog
    Thu 26 Apr 2007 07:00:55 AM UTCstrkStatusIn Progress=>Ready For Test
      Carbon-Copy-=>Added zoulunkai
    Thu 26 Apr 2007 06:22:53 AM UTCstrkStatusNone=>In Progress
      Assigned toudog=>strk

    Back to the top


    Powered by Savane 3.1-cleanup1