patch to prevent segfault if getenv() returns NULL

Bug #1320141 reported by Martin Gieseking
6
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.

Revision history for this message
Martin Gieseking (martin-gieseking) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.