Opened 5 weeks ago
Last modified 5 weeks ago
#71077 new defect
osmocore seems to use wrong endianness check
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.2 |
Keywords: | Cc: | michaelld (Michael Dickens) | |
Port: | osmocore |
Description
Can’t really test this at the moment, but it seems that the check is defunct. See my comment here: https://github.com/osmocom/libosmocore/commit/cc3694b650e22598811b3e5eaf74ef3dc0e4f7ab#diff-be543ecf2a1269d630e8a2f392b293acce7d5160d09b418ae78453b89309f537R31
No surprise the bug could have gone unnoticed for years, because macros check for LE first, which, AFAIU, evaluates as true always, so one never gets to BE case.
- S. Also the port is terribly outdated, upstream is at 1.10.0.
Note: See
TracTickets for help on using
tickets.
Opened an issue: https://osmocom.org/issues/6589