diff --git a/core/subSystem.go b/core/subSystem.go index 46657538..c07329db 100644 --- a/core/subSystem.go +++ b/core/subSystem.go @@ -84,6 +84,9 @@ func findExportedBinaries(internalName string) map[string]map[string]string { defer file.Close() scanner := bufio.NewScanner(file) + const maxTokenSize = 1024 * 1024 + buf := make([]byte, maxTokenSize) + scanner.Buffer(buf, maxTokenSize) for scanner.Scan() { if scanner.Text() == "# distrobox_binary" { scanner.Scan() diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index d355dfc8..00000000 --- a/sonar-project.properties +++ /dev/null @@ -1,9 +0,0 @@ -sonar.projectKey=Vanilla-OS_apx_AYiLLt9U9CPJrZw6oxBN -sonar.projectName=apx - -sonar.sources=. -sonar.exclusions=**/*_test.go - -sonar.c.file.suffixes=- -sonar.cpp.file.suffixes=- -sonar.objc.file.suffixes=-