Skip to content
  1. Dec 21, 2013
  2. Dec 20, 2013
  3. Dec 19, 2013
  4. Dec 18, 2013
  5. Dec 17, 2013
  6. Dec 16, 2013
  7. Dec 15, 2013
  8. Dec 14, 2013
  9. Dec 13, 2013
    • Steve Holme's avatar
      imap: Fixed incorrect fallback to clear text authentication · 75cd7fd6
      Steve Holme authored
      If a specific SASL authentication mechanism was requested by the user
      as part of the login options but wasn't supported by the server then
      curl would fallback to clear text, when it shouldn't, rather than
      reporting "No known authentication mechanisms supported" as the POP3
      and SMTP protocols do.
      75cd7fd6
  10. Dec 11, 2013
    • Eric Lubin's avatar
      parsedate: avoid integer overflow · 7246dfff
      Eric Lubin authored
      In C, signed integer overflow is undefined behavior. Thus, the compiler
      is allowed to assume that it will not occur. In the check for an
      overflow, the developer assumes that the signed integer of type time_t
      will wrap around if it overflows. However, this behavior is undefined in
      the C standard. Thus, when the compiler sees this, it simplifies t +
      delta < t to delta < 0. Since delta > 0 and delta < 0 can't both be
      true, the entire if statement is optimized out under certain
      optimization levels. Thus, the parsedate function would return
      PARSEDATE_OK with an undefined value in the time, instead of return -1 =
      PARSEDATE_FAIL.
      7246dfff
  11. Dec 09, 2013