From: Stefan Kisdaroczi <kisda@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-core] proc_file_read: Apparent buffer overflow
Date: Thu, 18 Mar 2010 16:19:05 +0100 [thread overview]
Message-ID: <4BA24469.1040508@domain.hid> (raw)
In-Reply-To: <4B97EB5C.2090600@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
Am 10.03.2010 19:56, schrieb Stefan Kisdaroczi:
> Hi,
>
> cat /proc/xenomai/heap returns the first 4096 Bytes and fails then with "Bad address".
> On the console I see: "proc_file_read: Apparent buffer overflow!"
>
> xeno 2.5.1, linux 2.6.32.8, x86 32bit UP, native skin, lot of rt_queues:
> # ls -1 /proc/xenomai/registry/native/queues/ | wc -l
> 233
> # ls -1 /proc/xenomai/registry/native/heaps/ | wc -l
> 26
With some luck i get a oops doing cat /proc/xenomai/heap.
Looking at the while() loop in heap_read_proc() in ksrc/nucleus/heap.c
its obvious.
Stefan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
next prev parent reply other threads:[~2010-03-18 15:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 18:56 [Xenomai-core] proc_file_read: Apparent buffer overflow Stefan Kisdaroczi
2010-03-18 15:19 ` Stefan Kisdaroczi [this message]
2010-03-18 16:25 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BA24469.1040508@domain.hid \
--to=kisda@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.