[geany/geany] cb72e1: Fix possible crashers in filetypes_detect_from_fil...

Colomban Wendling ban at xxxxx
Sun Nov 13 19:46:58 UTC 2011


  Branch: refs/heads/master
  Home:   https://github.com/geany/geany

  Commit: cb72e1d85fa687d88a47eba43c47b1ee4dddea80
      https://github.com/geany/geany/commit/cb72e1d85fa687d88a47eba43c47b1ee4dddea80
  Author: Colomban Wendling <ban at herbesfolles.org>
  Date:   2011-11-13 (Sun, 13 Nov 2011)

  Changed paths:
    M src/filetypes.c

  Log Message:
  -----------
  Fix possible crashers in filetypes_detect_from_file_internal()

* Never try to do a regex match on a NULL string;
* Don't try to unref a possibly NULL regex.





More information about the Commits mailing list