Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115277

qt_safe_sendmsg/sendto call may cause infinite loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • 6.2.4
    • Network
    • None
    • iOS/tvOS/watchOS

      I am listing this as an iOS bug and a bug specific to sendmsg and sendto, because that is where I've seen this reproducing. However, from looking at the code it seems to me this could be an issue in any platform and in any of these `qt_safe_*` function on https://codebrowser.dev/qt5/qtbase/src/network/socket/qnet_unix_p.h.html#_ZL15qt_safe_sendmsgiPK6msghdri. Due to the way EINTR_LOOP is defined.

       

      The infinite loop is caused by the sendmsg/sendto calls failing continually until and results in a crash in the application.

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

            manordheim Mårten Nordheim
            brizental Beatriz Rizental
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes