Rivoreo Source Code Repositories
src.rivoreo.one
/
security
/
mbedtls
/
770b5e1e9e043a00f79276d588c8c7437c0b774c
/
.
/
scripts
/
find-mem-leak.cocci
blob: 34cfd082d25b9f2e6e291e98dea557901ab0b250 [
file
] [
log
] [
blame
] [
raw
]
@@
expression x
,
y
;
statement S
;
@@
x
=
polarssl_malloc
(...);
y
=
polarssl_malloc
(...);
...
*
if
(
x
==
NULL
||
y
==
NULL
)
S
@@
expression x
,
y
;
statement S
;
@@
if
(
*
(
x
=
polarssl_malloc
(...))
==
NULL
||
*
(
y
=
polarssl_malloc
(...))
==
NULL
)
S