GNU gettext - Bugs: bug #33102, autosprintf needs an operator=
You are not allowed to post comments on this tracker with your current authentication level.
bug #33102: autosprintf needs an operator=
Submitter: | None | ||
Submitted: | Sat 16 Apr 2011 05:41:21 PM UTC | ||
Category: | Programmer interface | Severity: | 3 - Normal |
Item Group: | None | Status: | Fix Released |
Privacy: | Public | Assigned to: | m1gu3l |
Open/Closed: | Closed |
Tue 05 Mar 2013 11:39:22 PM UTC, comment #3: |
Daiki Ueno <ueno> |
Fri 01 Mar 2013 08:10:27 PM UTC, comment #2: It can be tested at https://github.com/644rosen/gettext_gtkbuilder_support.git in the branch libasprintf and in master |
Miguel Ángel Arruga Vivas <m1gu3l> |
Tue 29 Jan 2013 06:02:28 PM UTC, comment #1: This is a real bug.
|
Miguel Ángel Arruga Vivas <m1gu3l> |
Sat 16 Apr 2011 05:41:21 PM UTC, original submission:
The C++ class autosprintf has a non-trivial destructor and copy constructor, and so by the Rule of Three it also needs an assignment operator. Without this, the following code fragment currently causes a double free when the second object destructs.
|
Anonymous |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-01-04 | haible | Status | Fixed | Fix Released | |
2016-11-27 | haible | Category | None | Programmer interface | |
2013-03-05 | ueno | Status | Ready For Test | Fixed | |
Open/Closed | Open | Closed | |||
2013-03-01 | m1gu3l | Status | In Progress | Ready For Test | |
2013-02-28 | m1gu3l | Status | None | In Progress | |
Assigned to | None | m1gu3l | |||
2011-04-16 | None | Attached File | - | Added libasprintf-add-assignment-operator-to-autosprintf.patch, #23262 |
Powered by Savane 3.13-4b48.
Corresponding source code
Miguel's patch pushed.