Ticket #881 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

segfault when editing contacts

Reported by: sre Owned by: mrmoku
Priority: major Milestone:
Component: libphone-ui-shr Version: SHR-custom-builds
Keywords: segfault,nullpointer Cc:

Description

I reported two segfaults when editing contacts via mailinglist and deleting all character from one of the fields. Here is the proper bug report _and_ the patch to fix the problem.

Attachments

add-nullpointer-check.patch Download (1.6 KB) - added by sre 2 years ago.
add nullpointer checks to prevent segfault

Change History

Changed 2 years ago by sre

add nullpointer checks to prevent segfault

comment:1 Changed 2 years ago by TAsn

Thanks, for the patch, though it will not be applied as is, as it doesn't comply to our coding conventions.
We'll apply it as soon as possible, after doing the needed modifications. (and reviewing)

comment:2 Changed 2 years ago by mrmoku

I'm already working on it

comment:3 Changed 2 years ago by TAsn

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in the dev branch, will be merged to master with the overhaul of the contacts app.

Note: See TracTickets for help on using tickets.