]> git.proxmox.com Git - spiceterm.git/commit - spiceterm.c
fix bound checking on cursor move
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 5 May 2017 12:18:36 +0000 (14:18 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 6 May 2017 06:11:39 +0000 (08:11 +0200)
commit5a100bddb63ff361db8d2d4eb7e67b6540665e8f
treedfee5a9c738e4300782f2fdb0869f2f16c41433a
parentdd661f01eb34badd30ad2baee94297365d81d02e
fix bound checking on cursor move

changing most of the vt struct fields to unsigned, to avoid undefined
behaviour and use gotoxy for moving the cursor to correctly bound check
the cursor position

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
spiceterm.c
spiceterm.h