Fix a logic error leading to unlink(NULL) call, oops.
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 30 May 2011 12:54:16 +0000 (15:54 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 30 May 2011 12:54:16 +0000 (15:54 +0300)
commit2a60e63cf00ff736324f5e0fcd5a27a9dfb29e68
treefac73a2b6ada6c841102e5c41a141652525823ca
parentf67c47b856b0861e47629b13fce58b38afcdcc7a
Fix a logic error leading to unlink(NULL) call, oops.
- If writing the scriptlet to a file fails, its possible to
  end up with non-NULL script but with NULL fn and kaboom in unlink()
lib/rpmscript.c