Merge branch 'tb/submodule-null-deref-fix'
commit9cd234e6465ab2bea5c402f0d9ee1495501250ef
authorJunio C Hamano <gitster@pobox.com>
Tue, 20 Jun 2023 22:53:12 +0000 (20 15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Jun 2023 22:53:13 +0000 (20 15:53 -0700)
treea49e3100d91ff919f5ff7bfdcf9c665dcc6408a2
parent098a191a9705b013850dc64381ed9a5ca7ac0f80
parentfbc806acd106ee1c05fd0a0a83b7c59aa79629d8
Merge branch 'tb/submodule-null-deref-fix'

"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
builtin/submodule--helper.c