Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4034

Occur Segmentation Fault with bluetooth-manager API set_pincode verb

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Hardware Platform(s) Affected:
      QEMU x86_64, Raspberry Pi 4

      Description

      set_pincode verb in Bluetooth-manager API is able set pincode for outgoing pairing.
      But, this verb don't validate value variable so occur segmentation fault.

      When not send pincode value and just call this verb, g_ascii_strtoll function occur Null Dereference in set_pincode function. (bluetooth-conf.c:112)
      If send a pincode value that is not a string type, Invalid type casting in g_ascii_strtoll function causing segmentation fault.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            scottm Scott Murray
            Reporter:
            hikaii BaHyun Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: