Skip to content
  1. Apr 07, 2014
  2. Mar 10, 2014
  3. Mar 05, 2014
  4. Feb 05, 2014
  5. Feb 01, 2014
  6. Jan 30, 2014
  7. Dec 18, 2013
  8. Dec 01, 2013
  9. Nov 05, 2013
  10. Oct 30, 2013
  11. Sep 25, 2013
  12. Sep 21, 2013
  13. Sep 10, 2013
  14. Sep 09, 2013
  15. Aug 30, 2013
  16. Aug 20, 2013
    • Michel Dänzer's avatar
      worker: Fix memory corruption error/crasher · 87a3663d
      Michel Dänzer authored
      gdm_session_worker_process_pam_message() contains this code:
      
                               *response_text = strndup (user_answer,
      PAM_MAX_RESP_SIZE - 1);
                              (*response_text)[PAM_MAX_RESP_SIZE - 1] = '\0';
      
      If the string pointed to by user_answer is shorter than PAM_MAX_RESP_SIZE - 1
      (which will generally be the case), the second line clobbers unrelated memory.
      On this powerpc laptop, that causes gdm-session-worker to crash while verifying
      the password, leaving me unable to log into any user session.
      
      strndup() already ensures that the resulting string is 0-terminated anyway, so
      this commit just removes the second line.
      87a3663d
  17. Aug 18, 2013
  18. Aug 17, 2013
  19. Aug 12, 2013
  20. Aug 11, 2013
  21. Aug 08, 2013
  22. Aug 05, 2013
  23. Aug 04, 2013
  24. Aug 03, 2013
  25. Aug 02, 2013
  26. Aug 01, 2013
  27. Jul 31, 2013
  28. Jul 30, 2013