1. 24 Jun, 2017 1 commit
    • Lance Chen's avatar
      Fix `serverURIs` iterating in MQTTAsync.c · 42f5c135
      Lance Chen authored
      This commit fixes two bugs related to `serverURIs` iterating in MQTTAsync.c
      
      1. Segfault occurs when there is no healthy connection in `serverURIs`
      
         Two off-by-one errors of the `currentURI` cause the issue. The first
         one happens when doing boundary check of `serverURIs`, and the other
         one happens when accessing `serverURIs` without checking the boundary
         first.
      
      2. The first URI in `serverURIs` gets skipped when restricting
         `MQTTVersion` to a particular value
      
         `currentURI` gets increased *before* connection attempts in each
         iteration.
      Signed-off-by: 's avatarLance Chen <cyen0312@gmail.com>
      42f5c135
  2. 08 May, 2017 1 commit
  3. 06 May, 2017 1 commit
  4. 05 May, 2017 1 commit
  5. 04 May, 2017 3 commits
  6. 03 May, 2017 1 commit
  7. 02 May, 2017 2 commits
  8. 01 May, 2017 4 commits
  9. 30 Apr, 2017 1 commit
  10. 28 Apr, 2017 1 commit
  11. 25 Apr, 2017 1 commit
  12. 24 Apr, 2017 3 commits
  13. 22 Apr, 2017 2 commits
  14. 21 Apr, 2017 3 commits
  15. 20 Apr, 2017 3 commits
  16. 19 Apr, 2017 1 commit
  17. 13 Apr, 2017 1 commit
  18. 12 Apr, 2017 3 commits
  19. 11 Apr, 2017 1 commit
  20. 10 Apr, 2017 6 commits