Fix #2696: Segfault with bad dub.sdl
This was a null pointer being passed down.
However, while looking at the code, it was obvious that similar
bugs would trigger for subpackages (as the code was not handling
`null` packages either), so test cases for those have been added.
1 parent d35319b commit bbce0896cc744bad2a44dd939d867d4014209878
@Mathias Lang Mathias Lang authored on 27 Dec 2023
The Dlang Bot committed on 28 Dec 2023
Showing 3 changed files
View
source/dub/project.d
View
source/dub/test/base.d
View
source/dub/test/other.d 0 → 100644