openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / libdbiDrivers / libdbi-drivers-0.9.0-buffer_overflow.patch
blob1891c1a143baa1f930234e398f40c41c335c4508
1 --- a/drivers/sqlite3/dbd_sqlite3.c
2 +++ b/drivers/sqlite3/dbd_sqlite3.c
3 @@ -1451,7 +1451,7 @@ static int getTables(char** tables, int
4 break;
7 - word_lower[item-start+1];
8 + char word_lower[item-start+1];
9 strncpy(word_lower,start,item-start);
10 word_lower[item-start] = '\0';
11 int i = 0;