<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>509364</bug_id>
          
          <creation_ts>2025-09-11 02:05:39 +0000</creation_ts>
          <short_desc>Tellico crashes for truncated (&lt; 5 bytes) input file</short_desc>
          <delta_ts>2025-09-11 02:13:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>tellico</product>
          <component>general</component>
          <version>4.1.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Robby Stephenson">robby</reporter>
          <assigned_to name="Robby Stephenson">robby</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/tellico/-/commit/8c18837abd273f8fdeb0ca87b43b790d04f9a33c</cf_commitlink>
          <cf_versionfixedin>4.1.4</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2453811</commentid>
    <comment_count>0</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2025-09-11 02:05:39 +0000</bug_when>
    <thetext>The input file contents are &apos;&lt;?&apos; with no EOL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2453812</commentid>
    <comment_count>1</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2025-09-11 02:07:51 +0000</bug_when>
    <thetext>Git commit 8c18837abd273f8fdeb0ca87b43b790d04f9a33c by Robby Stephenson.
Committed on 11/09/2025 at 02:07.
Pushed by rstephenson into branch &apos;4.1&apos;.

Fix crashing bug for truncated input file

Check buffer length before reading
FIXED-IN: 4.1.4

M  +4    -0    ChangeLog
A  +1    -0    src/tests/data/truncated.xml
M  +7    -0    src/tests/tellicoreadtest.cpp
M  +1    -0    src/tests/tellicoreadtest.h
M  +1    -1    src/translators/tellicoimporter.cpp

https://invent.kde.org/office/tellico/-/commit/8c18837abd273f8fdeb0ca87b43b790d04f9a33c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2453813</commentid>
    <comment_count>2</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2025-09-11 02:13:07 +0000</bug_when>
    <thetext>Git commit d766cc7a5c9f400a8fe321bf2710e37094b0cabf by Robby Stephenson.
Committed on 11/09/2025 at 02:12.
Pushed by rstephenson into branch &apos;master&apos;.

Fix crashing bug for truncated input file

Check buffer length before reading

M  +4    -0    ChangeLog
A  +1    -0    src/tests/data/truncated.xml
M  +7    -0    src/tests/tellicoreadtest.cpp
M  +1    -0    src/tests/tellicoreadtest.h
M  +10   -12   src/translators/tellicoimporter.cpp

https://invent.kde.org/office/tellico/-/commit/d766cc7a5c9f400a8fe321bf2710e37094b0cabf</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>