Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kmalloc misuse in nitro-code #2

Open
GoogleCodeExporter opened this issue Jun 24, 2015 · 2 comments
Open

kmalloc misuse in nitro-code #2

GoogleCodeExporter opened this issue Jun 24, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

kmalloc does not initialize allocated memory. Scmon rule handling does not 
initialize the linked list fully, thus parts of scmon (rule handling) may 
corrupt, after rules have been flushed at least once.

Solution: 
a. use kzalloc(size_t, priority) where needed. (slow)
b. initialize memory areas ourselves (slower than kzalloc)

This bug report is just a stub, as I've already fixed affected code segments, 
and will commit them soonish.

Original issue reported on code.google.com by fuchs...@gmail.com on 13 Mar 2012 at 10:13

@GoogleCodeExporter
Copy link
Author

Original comment by fuchs...@gmail.com on 13 Mar 2012 at 10:18

  • Changed title: kmalloc misuse in nitro-code

@GoogleCodeExporter
Copy link
Author

Original comment by fuchs...@gmail.com on 13 Mar 2012 at 4:42

  • Added labels: Priority-High
  • Removed labels: Priority-Critical

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant