[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct file
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries |
Date: |
Tue, 22 Jan 2019 15:22:29 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
Follow-up Comment #4, bug #55542 (project octave):
>From cppreference
(https://en.cppreference.com/w/cpp/language/reinterpret_cast)
> On some implementations (in particular, on any POSIX compatible system as
required by dlsym), a function pointer can be converted to void* or any other
object pointer, or vice versa. If the implementation supports conversion in
both directions, conversion to the original type yields the original value,
otherwise the resulting pointer cannot be dereferenced or called safely.
So this is explicitly allowed.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55542>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55542] Undefine bahavior in loading oct files and shred libraries, anonymous, 2019/01/22
- [Octave-bug-tracker] [bug #55542] Undefine bahavior in loading oct files and shred libraries, anonymous, 2019/01/22
- [Octave-bug-tracker] [bug #55542] Undefine bahavior in loading oct files and shared libraries, Rik, 2019/01/22
- [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries, John W. Eaton, 2019/01/22
- [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries,
Mike Miller <=
- [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries, Rik, 2019/01/22
- [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries, John W. Eaton, 2019/01/22
- [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries, John W. Eaton, 2019/01/22
- [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries, anonymous, 2019/01/23
- [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries, anonymous, 2019/01/23
- [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries, anonymous, 2019/01/23