login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
19
Re: [2.6 patch] fix mm/util.c:krealloc()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Christoph Lameter <clameter@...>
To: Adrian Bunk <bunk@...>
Cc: <linux-kernel@...>
Subject:
Re: [2.6 patch] fix mm/util.c:krealloc()
Date: Friday, October 19, 2007 - 1:42 pm
On Fri, 19 Oct 2007, Adrian Bunk wrote:
quoted text
> Commit ef8b4520bd9f8294ffce9abd6158085bde5dc902 added one NULL check for > "p" in krealloc(), but that doesn't seem to be enough since there > doesn't seem to be any guarantee that memcpy(ret, NULL, 0) works > (spotted by the Coverity checker). > > For making it clearer what happens this patch also removes the > pointless min().
Acked-by: Chriustoph Lameter <clameter@sgi.com> -
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:
[2.6 patch] fix mm/util.c:krealloc()
, Adrian Bunk
, (Fri Oct 19, 10:05 am)
Re: [2.6 patch] fix mm/util.c:krealloc()
, Christoph Lameter
, (Fri Oct 19, 1:42 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ian Campbell
Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Justin Piszcz
Linux Software RAID 5 Performance Optimizations: 2.6.19.1: (211MB/s read & 195...
Alan
Re: [RFC] Heads up on sys_fallocate()
netbsd-tech-kern
:
Matthias Scheler
Re: HEADS UP: timecounters (branch simonb-timecounters) merged into -current
David Laight
long usernames
Quentin Garnier
Re: Understanding foo_open, foo_read, etc.
Jared D. McNeill
Breaking binary compatibility for /dev/joy
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
Colocation donated by:
Who's online
There are currently
1 user
and
817 guests
online.
Online users
strcmp
Syndicate