Skip to content

Commit 2cb76bb

Browse files
committed
docs
1 parent 2e9d5cc commit 2cb76bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c/cert/src/rules/CON30-C/CleanUpThreadSpecificStorage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Search for [vulnerabilities](https://wiki.sei.cmu.edu/confluence/display/c/BB.+D
173173
174174
## Implementation notes
175175
176-
This query does not attempt to ensure that the deallocation function in fact deallocates memory and instead assumes the contract is valid.
176+
This query does not attempt to ensure that the deallocation function in fact deallocates memory and instead assumes the contract is valid. Additionally, this query requires that all `tss_create` calls are bookended by calls to `tss_delete`, even if a thread is not created.
177177
178178
## References
179179

rule_packages/c/Concurrency4.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"concurrency"
1818
],
1919
"implementation_scope": {
20-
"description": "This query does not attempt to ensure that the deallocation function in fact deallocates memory and instead assumes the contract is valid."
20+
"description": "This query does not attempt to ensure that the deallocation function in fact deallocates memory and instead assumes the contract is valid. Additionally, this query requires that all `tss_create` calls are bookended by calls to `tss_delete`, even if a thread is not created."
2121
}
2222

2323
}

0 commit comments

Comments
 (0)