Fix code landed as bustage fix in bug 1822377
Categories
(Thunderbird :: Upstream Synchronization, defect)
Tracking
(thunderbird_esr102 fixed, thunderbird112 fixed)
People
(Reporter: peter.schlemihl, Assigned: KaiE)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
rjl
:
approval-comm-beta+
wsmwk
:
approval-comm-esr102+
|
Details | Review |
+++ This bug was initially created as a clone of Bug #1822377 +++
Please use nsDependentCString(header_value)
instead of allocating a new string:
https://hg.mozilla.org/comm-central/rev/d0cb7c43177e#l2.13
Comment 1•1 year ago
|
||
Kindly redirecting this to Magnus to validate this suggestion.
If it makes sense could you take care of it?
Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
yes it makes sense
Updated•1 year ago
|
Usually no new variable is used:
https://searchfox.org/comm-central/search?q=nsDependentCString&path=&case=false®exp=false
(but that's a matter of taste)
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/9a6cf93bb303
Use nsDependentCString to avoid unnecessary allocation. r=mkmelin
Assignee | ||
Comment 6•1 year ago
|
||
Comment on attachment 9323121 [details]
Bug 1822421 - Use nsDependentCString to avoid unnecessary allocation. r=#thunderbird-reviewers
Please include this correctness fix when uplifting bug 1822377
Comment 7•1 year ago
|
||
Comment on attachment 9323121 [details]
Bug 1822421 - Use nsDependentCString to avoid unnecessary allocation. r=#thunderbird-reviewers
[Triage Comment]
Approved for beta.
Comment 8•1 year ago
|
||
bugherder uplift |
Thunderbird 112.0b5:
https://hg.mozilla.org/releases/comm-beta/rev/6d9517ba44b0
Updated•1 year ago
|
Comment 9•1 year ago
|
||
Comment on attachment 9323121 [details]
Bug 1822421 - Use nsDependentCString to avoid unnecessary allocation. r=#thunderbird-reviewers
[Triage Comment]
Approved for esr102
Comment 10•1 year ago
|
||
bugherder uplift |
Thunderbird 102.10.0:
https://hg.mozilla.org/releases/comm-esr102/rev/28eb241013ee
Description
•