Comments (10)
assertion '*mdbg_get_footer(hdr) == MDBG_FOOTER_MAGIC' failed at lib/libutils/isoc/bget_malloc.c:537 <assert_header>
5,3660,155391317,-;[TEE] E/TC:3 00 Panic at core/kernel/assert.c:28 <_assert_break>
from optee_os.
There has been a write beyond the size of an allocated buffer.
from optee_os.
how to avoid this crash ? does any patch in it ? i am using version 3.8 @jenswi-linaro
from optee_os.
I'm not aware of this error upstream.
Have you made any changes to the source code?
from optee_os.
@jenswi-linaro nothing change in this version , same code run in different type soc , one is ok , one is wrong
from optee_os.
Do you mean that git describe
gives 3.8.0
?
from optee_os.
@jenswi-linaro this branch is our internal branch name , but the source code copy form the optee upstream about 2 years ago .
may be the latest tee has fixed this issue . but it is not the best way to fix this bug .
do you have any guide about this issue ?Where should I do a memory check to prevent memory stampede ?
from optee_os.
@jenswi-linaro how to avoid write beyond the size of an allocated buffer?
from optee_os.
I'm sorry, but I can debug your code. The problematic buffer was allocated in mobj_phys_alloc(). I can't tell whether this is an upstream bug or if it has been fixed upstream.
from optee_os.
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.
from optee_os.
Related Issues (20)
- OP-TEE License - BSD or GPL ? HOT 8
- i.MX6ULL: Kernel crash on SMC call HOT 3
- Notify normal world TA's from static TA HOT 3
- Secure Write Protection and writing authenticated device configuration to RPMB HOT 4
- How to allocate 60MB of memory to TA HOT 8
- Inquiry on how to use subkey. HOT 8
- NW Kernel Panic or Secondary CPUs not booting up due to SMC call HOT 1
- Loading Large TA - TEEC_Opensession fails with code 0xffff000c HOT 13
- PKCS11 Object Caching in Optee ? HOT 3
- PKCS#11 TA: Support for additional hardware token - SE05x
- Segmentation fault in PKCS11 TA HOT 4
- Access to SPI NOR and eMMC block layer HOT 2
- How to modify PAGESIZE HOT 4
- Using non-FF-A OP-TEE from Linux with FF-A support HOT 4
- QEMUv7: core stack overflow with Mbed TLS HOT 7
- A question about configuration for optee crypto HOT 2
- Right way to use ecp HOT 2
- A question about test cases for PKCS#11" HOT 1
- Using malloc() to Allocate Large Memory in PTA fail with code 0xffff000c HOT 2
- QEMU: syscall ftrace does not work - RCU HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optee_os.