[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43640] mkoctfile -M infinite loop on arm64
From: |
Sébastien Villemot |
Subject: |
[Octave-bug-tracker] [bug #43640] mkoctfile -M infinite loop on arm64 |
Date: |
Mon, 01 Dec 2014 20:48:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0 |
Follow-up Comment #1, bug #43640 (project octave):
I confirm this issue. Actually it affects all architectures where char is
unsigned (which means ARM, PowerPC and several other less popular platforms in
Debian).
On those archs, since char is unsigned, in function get_line of
src/mkoctfile.in.cc, "c" can never be equal to EOF (because EOF is -1). Hence
the infinite loop.
I attach the patch that I applied to the Debian package.
(file #32580)
_______________________________________________________
Additional Item Attachment:
File name: mkoctfile-infinite-loop.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43640>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43640] mkoctfile -M infinite loop on arm64,
Sébastien Villemot <=