BR3028880: Fix NULL dereference on nonexistent environment variable
commit385d3e9c53ea128cee2459f5e6302a386704c907
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 13 Jul 2010 15:08:15 +0000 (13 19:08 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Tue, 13 Jul 2010 17:17:24 +0000 (13 21:17 +0400)
tree322c807ac6fcd527d7e0d3737504ed910fd50839
parentc6360a757b8c4284e416aa8025352045cffbf743
BR3028880: Fix NULL dereference on nonexistent environment variable

Frank reported we hit NULL dereference on nonexistent
environment variables. Fix it by leaving empty string
in text field of such token and yielding warning.

Reported-by: Frank Kotler <fbkotler@zytor.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
preproc.c