login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
9
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rob Landley
Subject:
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
Date: Tuesday, October 9, 2007 - 3:19 pm
On Tuesday 09 October 2007 8:03:15 am Ahmed S. Darwish wrote:
quoted text
> $ man getcwd > > char *getcwd(char *buf, size_t size); > > As an extension to the POSIX.1 standard, Linux (libc4, libc5, glibc) > getcwd() allocates the buffer dynamically using malloc() if buf is NULL on > call. > > Shouldn't "srctree" be free()ed in case getenv("SRCTREE") failed ?
If exit() doesn't free all the memory the program allocated, we have bigger problems.
quoted text
> Regards,
Rob -- "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson. -
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:
[PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Rob Landley
, (Mon Oct 8, 11:25 pm)
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Ahmed S. Darwish
, (Tue Oct 9, 6:03 am)
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Randy Dunlap
, (Tue Oct 9, 8:55 am)
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Randy Dunlap
, (Tue Oct 9, 8:56 am)
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Ahmed S. Darwish
, (Tue Oct 9, 10:19 am)
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Randy Dunlap
, (Tue Oct 9, 10:24 am)
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Ahmed S. Darwish
, (Tue Oct 9, 10:51 am)
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Rob Landley
, (Tue Oct 9, 3:19 pm)
Re: [PATCH] Stop docproc segfaulting when SRCTREE isn't set.
, Sam Ravnborg
, (Thu Oct 18, 4:53 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread
Robert Marquardt
Re: [linux-usb-devel] usb hid: reset NumLock
Alexandre Oliva
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Uwe Bugla
Re: bug in 2.6.22-rc2: loop mount limited to one single iso image
Neil Brown
Re: Proposal: Use hi-res clock for file timestamps
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Paolo Ciarrocchi
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
Miklos Vajna
[PATCH 3/3] Fix git update-ref --no-deref -d.
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
Jarek Poplawski
Re: tc filter flow hash question
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
NFS: Store pages from an NFS inode into a local cache
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
openbsd-misc
:
Theo de Raadt
Re: RES: OpenBSD on IBM System X3550 7879
Bret S. Lambert
Re: any web management gui for pf ?
Rob Shepherd
x86 hardware for router system
Nick Holland
Re: Install OpenBSD from USB ?
Simon Comeau Martel
Activating "ip6.forwarding" and "accept_rtadv" at the same time
Colocation donated by:
Syndicate