nat-rtsp FTBFS with linux-hwe-6.8

Bug #2073470 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nat-rtsp (Ubuntu)
New
Undecided
Unassigned
Jammy
New
Undecided
Unassigned

Bug Description

[Impact]

...
/var/lib/dkms/nat-rtsp/0.7+5.3/build/nf_conntrack_rtsp.c: In function ‘init’:
/var/lib/dkms/nat-rtsp/0.7+5.3/build/nf_conntrack_rtsp.c:553:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
  553 | strlcpy(hlpr->name, tmpname, sizeof(hlpr->name));
      | ^~~~~~~
      | strscpy
...

[Fix]

Apply the attached fix.

[How to test]

Install, rebuild and load the fixed package with GA and HWE kernels.

[Regression potential]

None, the fix replaces an occurrence of the deprecated strlcpy() with strscpy().

Tags: patch
Revision history for this message
Paolo Pisati (p-pisati) wrote :
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.