Mercurial > octave
view .dir-locals.el @ 30264:de3275323dff
libqterminal: Avoid integer overflow in multiplication.
* libgui/qterminal/libqterminal/unix/BlockArray.cpp (moveBlock,
BlockArray::increaseBuffer): Cast integer offset argument of fseek to long int
before multiplication to avoid integer overflow. The overflow is very
unlikely to happen and this is adopted code (not actually maintained). But
it's an easy fix that doesn't clutter the code too much.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 31 Oct 2021 18:06:22 +0100 |
parents | df203b20cfc6 |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))