[PING patch]: PR/4987: windres does not get stdin input file

Kai Tietz Kai.Tietz@onevision.com
Mon Sep 24 16:24:00 GMT 2007


Hi,

This fix is obvious. A missing check for nil filename leads to 
segmentation fault.
I tested this patch for cygwin and linux environment.

ChangeLog:

2007-09-11      Alon Bar-Lev  <alon.barlev@gmail.com>

        * resrc.c: (read_rc_file): Move 'filename' default initialization 
in
        front to function begin.

Cheers,
 i.A. Kai Tietz



|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: 
Ulrike Döhler, Manuela Kluger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr4987.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20070924/bbcdba70/attachment.txt>


More information about the Binutils mailing list