Mailinglist Archive: opensuse-bugs (3912 mails)

< Previous Next >
[Bug 915889] New: glibc's execve() reverses 'environ' pointers
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 03 Feb 2015 01:15:32 +0000
  • Message-id: <bug-915889-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=915889

Bug ID: 915889
Summary: glibc's execve() reverses 'environ' pointers
Classification: openSUSE
Product: openSUSE Factory
Version: 201501*
Hardware: aarch64
OS: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: mail@xxxxxxxxxxxxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

On aarch64, the output of 'env' is reverse to that of 'env env' - which in
turn is reverse to that of 'env env env' and so on.
It seems that execve() is reversing the pointers of the 'environ' array.

This was seen as failure for the coreutils-testsuite on aarch64 on OBS,
and discussed upstream at
http://lists.gnu.org/archive/html/coreutils/2015-02/msg00001.html

I'm not sure if this is a bug or just a minor oops, as POSIX seems to
allow such behavior, but as this only happens on aarch64, I thought it
is worth reporting.
Please clarify. Thanks.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
This Thread
  • No further messages