** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/1931584

Title:
  PKA: Fix NULL pointer kfree() issue

Status in linux-bluefield package in Ubuntu:
  Invalid
Status in linux-bluefield source package in Focal:
  Fix Committed

Bug description:
  SRU Justification:

  [Impact]
  * Should not free NULL pointer. If the pointer is NULL as a result of memory 
allocation (kmalloc()),                  
    only return an error code and don't free (kfree()) a NULL pointer. Even 
though kfree() won't perform
    any operation if NULL is passed, this is not a good practice.               
                                        

  [Fix]
  * Don't free NULL pointer "pka: Fix NULL pointer kfree() issue"
       
  [Test Case]                                                                   
                                        
  * No change in functionality.

  [Regression Potential]
  * Regression can be considered very low as the pointer won't be kfree()'d 
only in the case of it                      
    being NULL. This is functionally equivalent to passing NULL pointer to 
kfree() as no operation will be              
    performed in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1931584/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to