freopen: Don't crash if the filename argument is NULL.
authorClaudio Bley <claudio.bley@gmail.com>
Wed, 31 Aug 2011 08:12:25 +0000 (10:12 +0200)
committerIan Beckwith <ianb@erislabs.net>
Wed, 7 Sep 2011 23:48:48 +0000 (00:48 +0100)
commit21d1619b3010053ebe4d4eae33440f7141ae2413
treef56398d6edb4c3131906f413e21073ec48427ad2
parente873bdee3369d3fcae65c602196f53b943af3770
freopen: Don't crash if the filename argument is NULL.

* lib/freopen.c (rpl_freopen): Don't compare the filename if it is
NULL.
(cherry picked from commit a0d9972bfe5609bd225968ddfa76188ffa48280b)
ChangeLog
lib/freopen.c