Subversion リポジトリの参照
Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/memory.c
Parent Directory
| Revision Log
| Patch
35 |
* @ptr: Pointer to allocated memory. |
* @ptr: Pointer to allocated memory. |
36 |
* @size: Size in byte. |
* @size: Size in byte. |
37 |
* |
* |
38 |
* Returns true if @ptr is not NULL and quota not exceeded, false otehrwise. |
* Returns true if @ptr is not NULL and quota not exceeded, false otherwise. |
39 |
*/ |
*/ |
40 |
bool ccs_memory_ok(const void *ptr, const unsigned int size) |
bool ccs_memory_ok(const void *ptr, const unsigned int size) |
41 |
{ |
{ |
57 |
* @data: Data to copy from. |
* @data: Data to copy from. |
58 |
* @size: Size in byte. |
* @size: Size in byte. |
59 |
* |
* |
60 |
* Returns true if @ptr is not NULL and quota not exceeded, false otehrwise. |
* Returns true if @ptr is not NULL and quota not exceeded, false otherwise. |
61 |
*/ |
*/ |
62 |
bool ccs_commit_ok(void *ptr, void *data, const unsigned int size) |
bool ccs_commit_ok(void *ptr, void *data, const unsigned int size) |
63 |
{ |
{ |
|
Legend:
Removed from v.3095 |
|
changed lines |
|
Added in v.3104 |
|
|
| |