summaryrefslogtreecommitdiffstats
path: root/library/cpp/lfalloc/lf_allocX64.h
Commit message (Collapse)AuthorAgeFilesLines
* [merge to stable-22-2] Fix a segfault in debug mode when the allocated ↵sharpeye2022-04-181-3/+8
| | | | | | | | | | | | | memory accidentally contains 0xF0000000 Наш сервис при сборке с `ALLOCATOR(LF_DBG)` на старте падает [в этой строчке](https://a.yandex-team.ru/arc_vcs/commit/r7923656#file-library/cpp/lfalloc/lf_allocX64.h:R1901) при попытке разыменовать очевидно невалидный указатель. В gdb видно, что мы при попытке определить координаты фиктивного заголовка в `GetAllocHeader()` прочитали какие-то левые 32 бита в качестве `header->Tag`, и они по стечению обстоятельств оказались равны `0xF0000000` в нашем случае (просто не повезло). После этого мы решаем, что в `header->Size` лежит настоящий указатель на заголовок, хотя на самом деле там лежит тоже что-то рандомное. Решение, вроде бы, простое — когда формируем фиктивный заголовок, надо не обращать внимания на теги (потому что к этому моменту их ещё некому было записать). REVIEW: 2408267 REVIEW: 2438642 x-ydb-stable-ref: 02ccf11b927a06e81b968e8b45c287957b8e1d60
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.anton-fr2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.anton-fr2022-02-101-3/+3
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.dened2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.dened2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.onpopov2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.onpopov2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.single2022-02-101-60/+60
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.single2022-02-101-60/+60
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.ijon2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.ijon2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.sandello2022-02-101-148/+148
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.sandello2022-02-101-148/+148
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.ironpeter2022-02-101-20/+20
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.ironpeter2022-02-101-20/+20
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.risenberg2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.risenberg2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.iddqd2022-02-101-8/+8
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.iddqd2022-02-101-8/+8
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.svshevtsov2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.svshevtsov2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.dzats2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.dzats2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.omakovski2022-02-101-8/+8
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.omakovski2022-02-101-8/+8
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.dmilideev2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.dmilideev2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.qwerty2022-02-101-4/+4
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.qwerty2022-02-101-4/+4
|
* Restoring authorship annotation for Vasily Gerasimov ↵Vasily Gerasimov2022-02-101-1/+1
| | | | <[email protected]>. Commit 2 of 2.
* Restoring authorship annotation for Vasily Gerasimov ↵Vasily Gerasimov2022-02-101-1/+1
| | | | <[email protected]>. Commit 1 of 2.
* Restoring authorship annotation for Dmitry Baksheev <[email protected]>. ↵Dmitry Baksheev2022-02-101-3/+3
| | | | Commit 2 of 2.
* Restoring authorship annotation for Dmitry Baksheev <[email protected]>. ↵Dmitry Baksheev2022-02-101-3/+3
| | | | Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.agri2022-02-101-17/+17
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.agri2022-02-101-17/+17
|
* Restoring authorship annotation for <[email protected]>. ↵arcadia-devtools2022-02-101-1/+1
| | | | Commit 2 of 2.
* Restoring authorship annotation for <[email protected]>. ↵arcadia-devtools2022-02-101-1/+1
| | | | Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.breakneck2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.breakneck2022-02-101-5/+5
|
* Restoring authorship annotation for Alexey Borzenkov ↵Alexey Borzenkov2022-02-101-5/+5
| | | | <[email protected]>. Commit 2 of 2.
* Restoring authorship annotation for Alexey Borzenkov ↵Alexey Borzenkov2022-02-101-5/+5
| | | | <[email protected]>. Commit 1 of 2.
* Restoring authorship annotation for Alexander Gololobov ↵Alexander Gololobov2022-02-101-30/+30
| | | | <[email protected]>. Commit 2 of 2.
* Restoring authorship annotation for Alexander Gololobov ↵Alexander Gololobov2022-02-101-30/+30
| | | | <[email protected]>. Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.ivanmorozov2022-02-101-7/+7
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.ivanmorozov2022-02-101-7/+7
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.asorotsky2022-02-101-49/+49
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.asorotsky2022-02-101-49/+49
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.gulin2022-02-101-824/+824
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.gulin2022-02-101-824/+824
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.tobo2022-02-101-1/+1
|