Giter Club home page Giter Club logo

Comments (10)

coversky2018 avatar coversky2018 commented on August 27, 2024

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.

jenswi-linaro avatar jenswi-linaro commented on August 27, 2024

There has been a write beyond the size of an allocated buffer.

from optee_os.

coversky2018 avatar coversky2018 commented on August 27, 2024

how to avoid this crash ? does any patch in it ? i am using version 3.8 @jenswi-linaro

from optee_os.

jenswi-linaro avatar jenswi-linaro commented on August 27, 2024

I'm not aware of this error upstream.
Have you made any changes to the source code?

from optee_os.

coversky2018 avatar coversky2018 commented on August 27, 2024

@jenswi-linaro nothing change in this version , same code run in different type soc , one is ok , one is wrong

from optee_os.

jenswi-linaro avatar jenswi-linaro commented on August 27, 2024

Do you mean that git describe gives 3.8.0?

from optee_os.

coversky2018 avatar coversky2018 commented on August 27, 2024

@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.

coversky2018 avatar coversky2018 commented on August 27, 2024

@jenswi-linaro how to avoid write beyond the size of an allocated buffer?

from optee_os.

jenswi-linaro avatar jenswi-linaro commented on August 27, 2024

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.

github-actions avatar github-actions commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.