Comment 6 for bug 1898573

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks for the explanation Michael, I did not check what the upstream build system is doing properly. From what I understood this bug affects the src:pjproject version 2.7.2~dfsg-1 in Bionic and not asterisk itself. The asterisk in Bionic has the patch to increase the value to 32000:

$ git branch
* ubuntu/bionic-devel
  ubuntu/devel
  ubuntu/focal-devel
$ head debian/changelog
asterisk (1:13.18.3~dfsg-1ubuntu4) bionic; urgency=medium

  * No-change rebuild against libcurl4

 -- Steve Langasek <email address hidden> Wed, 28 Feb 2018 06:44:47 +0000

asterisk (1:13.18.3~dfsg-1ubuntu3) bionic; urgency=high

  * No change rebuild against openssl1.1.

$ sed -n 71p third-party/pjproject/patches/config_site.h
#define PJSIP_MAX_PKT_LEN 32000

However, it is patched to use pjproject from the system so it does not apply it, the onward versions use the embedded pjproject which follows what upstream is doing and their patch applies during build time (setting this variable to 32000). Am I right? If so let's mark asterisk as not affected and pjproject as affected. Or are you requesting to increase this value to 65535 like upstream did on their master branch? In this case it would affect src:pjproject in Bionic and src:asterisk in Focal and Groovy.

Moreover, as Paride highlighted we would need to have a detailed analysis about the potential regression this change could bring to a stable release.