Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9857

Audit code: signed-ness of char type differs between x86 and ARM

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Storage Engines - 2022-09-19

      The char type by default is signed on x86 and unsigned on ARM. The usage of the type can cause subtle portability bugs between the platforms. We should check if we could have correctness issues because of this. We should also audit the WiredTiger code to make sure our usage of the type is correct between the platforms.

      Reference: https://www.arm.linux.org.uk/docs/faqs/signedchar.php

            Assignee:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: