summaryrefslogtreecommitdiff
path: root/missing/dtoa.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix dtoa buffer overrunNobuyoshi Nakada2022-04-121-1/+2
| | | | https://hackerone.com/reports/1248108
* Fixed race in dtoa [Bug #17612]Nobuyoshi Nakada2021-02-101-3/+10
| | | | | | | | | | Fixed the race condition when replacing `freelist` entry with its chained next element. At acquiring an entry, hold the entry once with the special value, then release by replacing it with the next element again after acquired. If another thread is holding the same entry at that time, spinning until the entry gets released. Co-Authored-By: Koichi Sasada <ko1@atdot.net>
* dtoa.c: make thread-safe by using atomic CASNobuyoshi Nakada2021-01-101-21/+54
|
* dtoa.c: constifiedNobuyoshi Nakada2021-01-101-1/+1
| | | | | clang seems to locate never modified local data in the const segment implicitly.
* dtoa.c: make compilable independentlyNobuyoshi Nakada2021-01-101-6/+18
| | | | Except for `-Dxmalloc=malloc -Dxfree=free`.
* Split dtoa.cnobu2019-02-071-0/+3417
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e