]> xenbits.xensource.com Git - unikraft/libs/musl.git/commit
Add patch to fix definition of environ variable
authorRazvan Deaconescu <razvand@unikraft.io>
Tue, 29 Nov 2022 20:34:46 +0000 (22:34 +0200)
committerUnikraft <monkey@unikraft.io>
Tue, 29 Nov 2022 23:10:47 +0000 (23:10 +0000)
commit980bf21159e0a366c20241d98e3a57e35009932a
tree8f20dab280c98711e2f3cc2a5c2041b19040301c
parent266e836fda2d23634d0b15361bdacad132e3b6ad
Add patch to fix definition of environ variable

The patch properly defines `environ` as an array of pointers, the last
of which is NULL. In the previous definition, `environ` was NULL, which
is not OK. The definition is now replaced to an array of a single NULL
element.

Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Simon Kuenzer <simon@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #30
patches/0021-src-env-Properly-define-environ-variable.patch [new file with mode: 0644]