Commit Graph

22 Commits

Author SHA1 Message Date
Ivan Grokhotkov 1322e839d2 add some comments to block_split and block_trim_free_leading 2022-07-26 14:40:25 +02:00
Guillaume Souchere 7d2c0f2264 Inline functions in tlsf.c and tlsf_block_functions.h
Use the attribute __attribute__((always_inline)).
2022-07-26 14:40:23 +02:00
Guillaume Souchere 81cecf2e0d move block_header_t, control_t, tlsfptr_t to tlsf_common.h and block function to tlsf_block_functions.h 2022-07-26 14:39:07 +02:00
Ivan Grokhotkov bfd855894d move tlsf_min, tlsf_max, tlsf_cast to the tlsf_common.h header file 2022-07-26 14:38:30 +02:00
Ivan Grokhotkov 6723d4fc98 tlsf_public and tlsf_private moved to tlsf_config enum in tlsf_common.h header 2022-07-26 14:38:30 +02:00
Ivan Grokhotkov 1f77a1d2a1 add tlsf_block_functions.h and tlsf_common.h files 2022-07-26 14:38:30 +02:00
Ivan Grokhotkov 61bbda7f4a move includes to tlsf.c, add license 2022-07-25 12:45:58 +02:00
Matt Conte deff9ab509 Update tlsf.c
Unsigned fix from Chris McEvoy @ Velan Studios.
2020-03-29 09:55:11 -07:00
matt conte a1f743ffac Merge pull request #3 from velvitonator/large-alloc-corruption
Protect against large sizes resulting in off-the-end free blocks
2018-02-21 22:07:31 -08:00
matt conte 16b6a9657d Merge pull request #2 from ralphyon/master
Fix block_size_max handling in adjust_request_size
2018-02-21 22:06:57 -08:00
Vitor Menezes 72601dd683 Protect against large sizes resulting in off-the-end free blocks 2017-05-11 00:04:48 -07:00
Martin Dufour 2b73b8a482 Fix block_size_max handling in adjust_request_size
In the 64-bit build, an allocation of request in the range
]block_size_max-ALIGN_SIZE,block_size_max[ could cause an out-of-bounds
access to sl_bitmap.
2016-08-01 07:51:11 -04:00
matthew conte 7d6c9a78da Fix broken link, placeholder text in copyright. 2016-04-11 17:08:29 -07:00
matthew conte bd50675b3c Fix it so it really compiles this time. 2016-04-11 16:59:11 -07:00
matthew conte 9620facc84 Fix tlsf.c so it compiles. 2016-04-11 16:57:49 -07:00
matthew conte a7e1d103d1 Fix broken link. 2016-04-11 16:54:46 -07:00
matthew conte a9c9020812 Merge pull request #1 from salkinium/master
Fix [-Wstrict-prototypes] warnings.
2016-04-11 15:07:47 -07:00
Niklas Hauser 757298305a Fix [-Wstrict-prototypes] warnings. 2016-04-11 21:13:44 +01:00
matthew conte 8b7c441ecf Added files via upload
Add tlsf.h, tlsf.c, version 3.1.
2016-04-10 15:02:17 -07:00
matthew conte 265a6c3798 Update README.md 2016-04-10 15:01:34 -07:00
matthew conte 150d9f97aa Update README.md 2016-04-10 15:01:07 -07:00
mattconte cee96d6b9c Initial commit 2015-05-26 11:31:33 -07:00