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

Occur Segmentation Fault with bluetooth-manager API set_pincode verb

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Inactive
    • Icon: Major Major
    • None
    • master
    • None
    • None
    • QEMU x86_64, Raspberry Pi 4

      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.

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

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

              Created:
              Updated:
              Resolved: