[D-runtime] [dlang/druntime] d4f88a: If malloc fails, prevent getting Segmentation Faul...
GitHub via D-runtime
d-runtime at puremagic.com
Tue May 3 03:38:31 PDT 2016
Branch: refs/heads/master
Home: https://github.com/dlang/druntime
Commit: d4f88a0a53c6b191842eb79225f38ff626f898d8
https://github.com/dlang/druntime/commit/d4f88a0a53c6b191842eb79225f38ff626f898d8
Author: tcak <tcak at users.noreply.github.com>
Date: 2016-04-06 (Wed, 06 Apr 2016)
Changed paths:
M src/rt/tlsgc.d
Log Message:
-----------
If malloc fails, prevent getting Segmentation Fault
When the memory is limited for the process, malloc fails, and data is null. Hence, it creates Segmentation Fault by trying to write a null pointer.
Commit: c9e3bff1d70721ebc689ccf095d67e8784d29384
https://github.com/dlang/druntime/commit/c9e3bff1d70721ebc689ccf095d67e8784d29384
Author: tcak <tcak at users.noreply.github.com>
Date: 2016-04-07 (Thu, 07 Apr 2016)
Changed paths:
M src/rt/tlsgc.d
Log Message:
-----------
Init calls onOutOfMemoryError if malloc fails
Commit: 189ea69fe616ebbee4f13cea94e5e19d9ac23664
https://github.com/dlang/druntime/commit/189ea69fe616ebbee4f13cea94e5e19d9ac23664
Author: Rainer Schuetze <r.sagitario at gmx.de>
Date: 2016-05-03 (Tue, 03 May 2016)
Changed paths:
M src/rt/tlsgc.d
Log Message:
-----------
Merge pull request #1534 from tcak/patch-2
If malloc fails, prevent getting Segmentation Fault
Compare: https://github.com/dlang/druntime/compare/e64c3ec15841...189ea69fe616
More information about the D-runtime
mailing list