cid#1607798 Overflowed integer argument
Change-Id: I561e86e07a61114523cad545646edf24cf50a260 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174707 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
a28f9a8cc2
commit
ac4ea1ad3a
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ oslFileError FileHandle_Impl::readLineAt(
|
|||
if (curpos >= m_buflen)
|
||||
{
|
||||
/* buffer examined */
|
||||
if ((curpos - bufpos) > 0)
|
||||
if (curpos > bufpos)
|
||||
{
|
||||
/* flush buffer to sequence */
|
||||
result = writeSequence_Impl(
|
||||
|
|
Loading…
Reference in a new issue