mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
don't write to static pointers; patch from Anthony
(This used to be commit b766fe78a7d8e4095d42e123f2b21369113c1f14)
This commit is contained in:
parent
aa8205c4b0
commit
8efca15a8b
@ -480,7 +480,7 @@ main() {
|
|||||||
/* Ensure this is kernel 2.4 or higher */
|
/* Ensure this is kernel 2.4 or higher */
|
||||||
|
|
||||||
uname(&uts);
|
uname(&uts);
|
||||||
release = uts.release;
|
release = strdup(uts.release);
|
||||||
major = atoi(strsep(&release, "."));
|
major = atoi(strsep(&release, "."));
|
||||||
minor = atoi(strsep(&release, "."));
|
minor = atoi(strsep(&release, "."));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user