Skip to content
Snippets Groups Projects
  • Guillaume Roguez's avatar
    24e642a6
    profilemodel: fix nullptr access · 24e642a6
    Guillaume Roguez authored
    
    my previous patch [cm: replace BLANK() by default ctor]
    causes a nullptr access in ProfileModelPrivate::slotAccountAdded()
    There is a call to acc->contactMethod() that returns a nullptr.
    
    I really tried to understand this call and its impact...
    ... no success!
    Removing the line seems to have no effect during tests on Gnome client.
    
    LRC is magic!
    
    Change-Id: Icdd33989e5d90bfb93227d82354643269fe944ff
    Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
    24e642a6
    History
    profilemodel: fix nullptr access
    Guillaume Roguez authored
    
    my previous patch [cm: replace BLANK() by default ctor]
    causes a nullptr access in ProfileModelPrivate::slotAccountAdded()
    There is a call to acc->contactMethod() that returns a nullptr.
    
    I really tried to understand this call and its impact...
    ... no success!
    Removing the line seems to have no effect during tests on Gnome client.
    
    LRC is magic!
    
    Change-Id: Icdd33989e5d90bfb93227d82354643269fe944ff
    Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.