* fhandler.h (pdrive_buf): Defensively allocate one extra byte.
This commit is contained in:
@@ -759,7 +759,7 @@ class fhandler_cygdrive: public fhandler_disk_file
|
||||
};
|
||||
int ndrives;
|
||||
const char *pdrive;
|
||||
char pdrive_buf[2 * 26 * DRVSZ];
|
||||
char pdrive_buf[1 + (2 * 26 * DRVSZ)];
|
||||
void set_drives ();
|
||||
public:
|
||||
fhandler_cygdrive ();
|
||||
|
Reference in New Issue
Block a user