login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
11
Re: [PATCH 1/2] audit: fix NUL handling in untrusted strings
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Steve Grubb
Subject:
Re: [PATCH 1/2] audit: fix NUL handling in untrusted strings
Date: Thursday, September 11, 2008 - 12:08 pm
On Thursday 11 September 2008 14:10:12 Miloslav Trmač wrote:
quoted text
> > As a side note I'm concerned there may be places in the user audit > > code which treat string data as null terminated (at least that is my > > recollection). > > Yes, auditd adds a NUL terminator to the audit record, and then treats > it as a regular NUL-terminated string; if the audit record contains an > embedded NUL byte, the rest of the record is discarded by auditd.
In every case where this occurs (kernel or user space), the field values are expected to be encoded to prevent it from being discarded. -Steve --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re: [PATCH 1/2] audit: fix NUL handling in untrusted strings
, Miloslav
, (Thu Sep 11, 11:10 am)
Re: [PATCH 1/2] audit: fix NUL handling in untrusted strings
, Miloslav
, (Thu Sep 11, 11:15 am)
Re: [PATCH 1/2] audit: fix NUL handling in untrusted strings
, Steve Grubb
, (Thu Sep 11, 12:08 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PA