From: Ivan Gyurdiev <ivg2@cornell.edu>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SELinux List <SELinux@tycho.nsa.gov>,
Joshua Brindle <jbrindle@tresys.com>
Subject: Re: [SEPOL] Fix overflow bugs on athlon 64
Date: Mon, 30 Jan 2006 16:12:51 -0500 [thread overview]
Message-ID: <43DE8153.10400@cornell.edu> (raw)
In-Reply-To: <1138652517.7076.185.camel@moss-spartans.epoch.ncsc.mil>
>>> Also, someone should take a look into this:
>>>
>>> ==31626== Syscall param write(buf) points to uninitialised byte(s)
>>> ==31626== at 0x37E2EBBC60: __write_nocancel (in /lib64/libc-2.3.90.so)
>>> ==31626== by 0x37E2E66812: _IO_file_write@@GLIBC_2.2.5 (in
>>> /lib64/libc-2.3.90.so)
>>> ==31626== by 0x37E2E66725: _IO_do_write@@GLIBC_2.2.5 (in
>>> /lib64/libc-2.3.90.so)
>>> ==31626== by 0x37E2E67B48: _IO_file_xsputn@@GLIBC_2.2.5 (in
>>> /lib64/libc-2.3.90.so)
>>> ==31626== by 0x37E2E5DB59: fwrite (in /lib64/libc-2.3.90.so)
>>> ==31626== by 0x4A913D0: put_entry (private.h:69)
>>> ==31626== by 0x4A93088: class_write (write.c:816)
>>> ==31626== by 0x4A747D4: hashtab_map (hashtab.c:236)
>>> ==31626== by 0x4A950EE: policydb_write (write.c:1483)
>>> ==31626== by 0x4A81713: sepol_module_package_write (module.c:573)
>>> ==31626== by 0x4BBD39F: semanage_write_module (in
>>> /lib64/libsemanage.so.1)
>>> ==31626== by 0x4BBD76C: semanage_direct_commit (in
>>> /lib64/libsemanage.so.1)
>>>
>>> One suspicious thing is passing the 8-byte size_t values len/len2 into
>>> cpu_to_le32, but I couldn't completely track this down, so I leave it to
>>> someone else for now :)
>>>
>
> Any other occurrences beyond the one from class_write?
>
No, that's the only trace I got from valgrind /usr/sbin/semanage -B.
It'd be useful to be able to valgrind over some of the python code (like
pywrap-test.py),
but that seems to be a hopeless task. I tried installing a suppressions
file for python, which did not work for me..
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
prev parent reply other threads:[~2006-01-30 21:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-29 0:37 [SEPOL] Fix overflow bugs on athlon 64 Ivan Gyurdiev
2006-01-30 19:41 ` Stephen Smalley
2006-01-30 20:21 ` Stephen Smalley
2006-01-30 21:12 ` Ivan Gyurdiev [this message]
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=43DE8153.10400@cornell.edu \
--to=ivg2@cornell.edu \
--cc=SELinux@tycho.nsa.gov \
--cc=jbrindle@tresys.com \
--cc=sds@tycho.nsa.gov \
/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.