Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 685515 Details for
Bug 768285
app-misc/mc-4.8.26 crashes on save: (mcedit:40454): GLib-ERROR **: 01:59:15.500: ../glib-2.66.4/glib/gmem.c:112: failed to allocate 18446744073709551504 bytes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mc-4.8.26-clip-768285.patch
mc-4.8.26-clip-768285.patch (text/plain), 1.15 KB, created by
Sergei Trofimovich (RETIRED)
on 2021-02-02 07:51:28 UTC
(
hide
)
Description:
mc-4.8.26-clip-768285.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2021-02-02 07:51:28 UTC
Size:
1.15 KB
patch
obsolete
>https://bugs.gentoo.org/768285 >--- a/lib/tty/tty-ncurses.c >+++ b/lib/tty/tty-ncurses.c >@@ -135,42 +135,46 @@ tty_clip (int *y, int *x, int *rows, int *cols) > *rows += *y; > > if (*rows <= 0) > return FALSE; > > *y = 0; > } > > if (*x < 0) > { > *cols += *x; > > if (*cols <= 0) > return FALSE; > > *x = 0; > } > > if (*y + *rows > LINES) > *rows = LINES - *y; >+ if (*rows <= 0) >+ return FALSE; > if (*x + *cols > COLS) > *cols = COLS - *x; >+ if (*cols <= 0) >+ return FALSE; > > return TRUE; > } > > /* --------------------------------------------------------------------------------------------- */ > /*** public functions ****************************************************************************/ > /* --------------------------------------------------------------------------------------------- */ > > int > mc_tty_normalize_lines_char (const char *ch) > { > char *str2; > int res; > > struct mc_tty_lines_struct > { > const char *line; > int line_code; > } const lines_codes[] = { > {"\342\224\230", ACS_LRCORNER}, /* â */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 768285
: 685515