7321N/APatch for Oracle bug 15797932
7321N/A
7321N/ASubmitted upstream as: https://github.com/brltty/brltty/pull/72
7321N/A
7321N/A--- brltty-4.2/Drivers/Braille/VisioBraille/vstp_main.c 2010-05-04 20:42:36.000000000 +0800
7321N/A+++ brltty-4.2/Drivers/Braille/VisioBraille/vstp_main.c.mod 2012-06-14 00:11:33.561690986 +0800
7321N/A@@ -99,7 +99,7 @@
7321N/A } else if (!strcmp(s,"vbs_ext")) {
7321N/A visiobases_ext = (char *) malloc(5);
7321N/A strncpy(visiobases_ext,c,4);
7321N/A- visiobases_ext[5]=0;
7321N/A+ visiobases_ext[4]=0;
7321N/A } else if (!strcmp(s,"vbs_dir")) {
7321N/A visiobases_dir = (char *) malloc(strlen(c)+1);
7321N/A strcpy(visiobases_dir,c);