Actions
Bug #1986
closedosmo-auc-gen: SQN can only be handled up to 32bits values on 32 bit systems
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/15/2017
Due date:
% Done:
100%
Spec Reference:
Description
I've recently added a test passing arguments to the osmo-auc-gen binary,
including the largest sequence number: 48 bits of 0xffff..., or
281474976710655.
And now we get a failure on i586 where this number instead comes out as
4294967295, which happens to be 32 bits of 0xffff. If that isn't a problem with
using a "native" int somewhere.
We can fix the build quickly by not using such a large number, or we can fix osmo-auc-gen.
On Wed, Mar 15, 2017 at 07:52:33PM +0000, OBS Notification wrote: > Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libosmocore/xUbuntu_16.10/i586 >_ > Package network:osmocom:nightly/libosmocore failed to build in xUbuntu_16.10/i586 >_ > Check out the package for editing: > osc checkout network:osmocom:nightly libosmocore >_ > Last lines of build log: > [ 143s] RAND: 6a61050765caa32c90371370e5d6dc2d > [ 143s] -AUTN: afb993e4f4b8000069cdeebb4a4b5b58 > [ 144s] +AUTN: 504693e4f4b80000e3963072c50f0b91 > [ 144s] IK: c348c2fe2f3e1fb37a7ae1638163bd98 > [ 144s] CK: e740c156278705a14e1a99ba6d31334f > [ 144s] RES: 7c04e86a67967fcd > [ 144s] SRES: 1b9297a7 > [ 144s] Kc: 10687b71e4eb94c5 > [ 144s] -SQN: 281474976710655 > [ 144s] +SQN: 4294967295 > [ 144s]__
Updated by neels about 7 years ago
- Description updated (diff)
- Assignee set to 118
Updated by neels about 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
https://gerrit.osmocom.org/2089 should fix the argument parsing
Actions