Björn Esser
a731ae6a75
Detect broken RDRAND during initialization.
...
Some CPUs advertise RDRAND in CPUID, but return
0xFFFFFFFF unconditionally. To avoid locking up
later, test RDRAND during initialization, and if
it returns 0xFFFFFFFF, mark it as nonexistent.
Also fix a possible segmentation fault in CPUID check.
This commit is a squashed and slightly modified backport
of the following commits on the master branch:
* 0e5bbcaa16
* 4d36b0287d
* 8086314026
2020-06-01 16:45:45 +02:00
Björn Esser
865b5a6519
Fix CVE-2020-12762.
...
This commit is a squashed backport of the following commits
on the master branch:
* 099016b7e8
* 77d935b7ae
* d07b910149
* 519dfe1591
* a59d5acfab
2020-05-14 12:32:30 +02:00
Björn Esser
c233f5c05e
json_object_private: Use unsigned 32-bit integer type for refcount
2017-12-17 12:51:17 +01:00
Björn Esser
3e89278476
Makefile: Add ACLOCAL_AMFLAGS
...
This is recommended by the libtool manual.
2017-12-14 15:48:31 +01:00
Björn Esser
99ea93338d
json_object: Avoid invalid free (and thus a segfault) when ref_count gets < 0
2017-12-14 15:45:22 +01:00
Björn Esser
9aca3b6a08
json_object: Avoid invalid free (and thus a segfault) when ref_count gets < 0
2017-12-14 14:36:07 +01:00
Björn Esser
10fe00650c
json_object: Add size_t json_object_sizeof()
2017-12-13 21:17:21 +01:00
Björn Esser
87556afe2a
Makefile: Add ACLOCAL_AMFLAGS
...
This is recommended by the libtool manual.
2017-12-13 01:26:35 +01:00
Björn Esser
c123a1c21b
json_object: Add size_t json_object_sizeof()
2017-12-11 16:16:15 +01:00
Björn Esser
cec97ebc6f
Replace obsolete AM_PROG_LIBTOOL
2017-07-04 12:54:46 +02:00