summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-26 14:43:36 +0000
committerGerald Carter <jerry@samba.org>2003-09-26 14:43:36 +0000
commit45814e729c876bdf2328d37c4d18c62a95011d05 (patch)
tree13532a5dfd76140c41c55a484f5dc30133219f86
parent0d1e45d361ffbdf15e91908f4336a55cc47780c4 (diff)
downloadsamba-45814e729c876bdf2328d37c4d18c62a95011d05.tar.gz
samba-45814e729c876bdf2328d37c4d18c62a95011d05.tar.bz2
samba-45814e729c876bdf2328d37c4d18c62a95011d05.zip
don't write to static pointers; patch from Anthony
(This used to be commit 5840cbe5f6207471ccd3d518a6aee91d84e24a1f)
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b981313c9a..8c2e9e7f9b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -480,7 +480,7 @@ main() {
/* Ensure this is kernel 2.4 or higher */
uname(&uts);
- release = uts.release;
+ release = strdup(uts.release);
major = atoi(strsep(&release, "."));
minor = atoi(strsep(&release, "."));