]> granicus.if.org Git - sudo/commit
Move pattern length check until after we have initialized the glob_t
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 13 Jun 2015 14:13:48 +0000 (08:13 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 13 Jun 2015 14:13:48 +0000 (08:13 -0600)
commitf43f53098732de5f4667e01aec37dfa9cc551b61
tree9c255de20b0028a0f5e9a792067053b5d6812637
parent25917e435c3b677c71e4ab0d5821328db8227b5f
Move pattern length check until after we have initialized the glob_t
so we can call globfree() even on error.  From Frank Denis.
lib/util/glob.c