summaryrefslogtreecommitdiff
path: root/st.1%25253fid%25253dfe31a3f6344b0a1dbe72540aad63812f1edb6c12%253fid%253d6b7f6...
diff options
context:
space:
mode:
authornoname <noname@inventati.org>2014-04-23 02:08:13 +0400
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-25 17:17:48 +0200
commit80b32af794b659cb15745cfb2a19fce0829c42c7 (patch)
tree3991d7b4a03f0eafda64222adb8b7dc1868cb48a /st.1%25253fid%25253dfe31a3f6344b0a1dbe72540aad63812f1edb6c12%253fid%253d6b7f63bac597ca03e18fe63ad522b4d1bded08d1%3fid%3d80b32af794b659cb15745cfb2a19fce0829c42c7?id=80b32af794b659cb15745cfb2a19fce0829c42c7
parent16ac85bf5422a7e925743f6134572d3ac1a25188 (diff)
Simplify tdeletechar and tinsertblank and fix memory corruption.
Current CSI parsing code uses strtol to parse arguments and allows them to be negative. Negative argument is not properly handled in tdeletechar and tinsertblank and results in memory corruption in memmove. Reproduce with printf '\e[-500@' Patch also removes special handling for corner case and simplifies the code. Removed term.dirty[term.c.y] = 1 because tclearregion sets dirty flag.
Diffstat (limited to 'st.1%25253fid%25253dfe31a3f6344b0a1dbe72540aad63812f1edb6c12%253fid%253d6b7f63bac597ca03e18fe63ad522b4d1bded08d1%3fid%3d80b32af794b659cb15745cfb2a19fce0829c42c7?id=80b32af794b659cb15745cfb2a19fce0829c42c7')
0 files changed, 0 insertions, 0 deletions