mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1014103 - Fix XPCShellImpl.cpp/GetLine() to use 4096 byte buffer as its caller, r=bz
This commit is contained in:
parent
9cf011be5c
commit
9a3534f2f9
@ -196,7 +196,7 @@ GetLocationProperty(JSContext *cx, HandleObject obj, HandleId id, MutableHandleV
|
||||
static bool
|
||||
GetLine(JSContext *cx, char *bufp, FILE *file, const char *prompt) {
|
||||
{
|
||||
char line[256] = { '\0' };
|
||||
char line[4096] = { '\0' };
|
||||
fputs(prompt, gOutFile);
|
||||
fflush(gOutFile);
|
||||
if ((!fgets(line, sizeof line, file) && errno != EINTR) || feof(file))
|
||||
|
Loading…
Reference in New Issue
Block a user