]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'tb/submodule-null-deref-fix'
authorJunio C Hamano <gitster@pobox.com>
Tue, 20 Jun 2023 22:53:12 +0000 (15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Jun 2023 22:53:13 +0000 (15:53 -0700)
"git submodule" code trusted the data coming from the config (and
the in-tree .gitmodules file) too much without validating, leading
to NULL dereference if the user mucks with a repository (e.g.
submodule.<name>.url is removed).  This has been corrected.

* tb/submodule-null-deref-fix:
  builtin/submodule--helper.c: handle missing submodule URLs

1  2 
builtin/submodule--helper.c

Simple merge