https://bugs.kde.org/show_bug.cgi?id=467394

b...@mogwai.be changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/mult
                   |                            |imedia/kasts/commit/45e50e4
                   |                            |0fbac833f787c24e2b609ccc862
                   |                            |6e126d
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from b...@mogwai.be ---
Git commit 45e50e40fbac833f787c24e2b609ccc8626e126d by Bart De Vries.
Committed on 15/03/2023 at 14:10.
Pushed by bdevries into branch 'master'.

Fix bug with empty feed causing nullptr dereference

If an empty URL was entered (i.e. only whitespace) then that would be
accepted and added to the database as temporary entry to be loaded and
checked later.  However, sqlite will convert this to a NULL entry.  This
would lead to Kasts not being able to retrieve that feed from the DB,
and hence not being able to create a proper object.  This would then
lead to a nullptr dereference down the line.
Note that this is a corner case: other invalid URLs are spotted
correctly and do not cause the application to crash.

M  +11   -2    src/datamanager.cpp

https://invent.kde.org/multimedia/kasts/commit/45e50e40fbac833f787c24e2b609ccc8626e126d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to