epp: avoid to rely on undefined behavior for fopen.
authorCedric Bail <cedric.bail@samsung.com>
Tue, 5 Nov 2013 07:28:56 +0000 (16:28 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Tue, 5 Nov 2013 07:28:56 +0000 (16:28 +0900)
commit11bad338139ff2d229a145827b9fcff54a677ef1
treef34c1ffdf8308e83be49e9450e91a0dc70ca62db
parentec1ba326909fae86cf7738b8475bfd05bc2323cb
epp: avoid to rely on undefined behavior for fopen.

In the case we didn't define the file to save to, fopen would have
been called with a NULL parameter. The result of that call is not
really defined and could have led to some crash at some point.
src/bin/edje/epp/cpplib.c