patch to prevent segfault if getenv() returns NULL
Bug #1320141 reported by
Martin Gieseking
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Undecided
|
Unassigned |
Bug Description
Zorba crashes in some contexts if an environment variable doesn't exist. In this case, getenv() returns NULL which is not checked in the code. The attached patch should fix the issue.
To post a comment you must log in.