{
  "_class" : "hudson.matrix.MatrixBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "org.jenkinsci.plugins.workflow.support.steps.build.BuildUpstreamCause",
          "shortDescription" : "Started by upstream project \"gerrit-osmo-pcap\" build number 261",
          "upstreamBuild" : 261,
          "upstreamProject" : "gerrit-osmo-pcap",
          "upstreamUrl" : "job/gerrit-osmo-pcap/"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "hudson.model.ParametersAction",
      "parameters" : [
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "COMMENT_TYPE",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "DISTRO",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_BRANCH",
          "value" : "master"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_CHANGE_NUMBER",
          "value" : "42849"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_HOST",
          "value" : "gerrit.osmocom.org"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_NUMBER",
          "value" : "4"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_REVISION",
          "value" : "603c1e44f9e751f6949fa43bc9ac9580235427c2"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_UPLOADER_NAME",
          "value" : "fixeria"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PORT",
          "value" : "29418"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PROJECT",
          "value" : "osmo-pcap"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_REFSPEC",
          "value" : "refs/changes/49/42849/4"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_REPO_URL",
          "value" : "ssh://jenkins@gerrit.osmocom.org:29418/osmo-pcap"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "PIPELINE_BUILD_URL",
          "value" : "https://jenkins.osmocom.org/jenkins/job/gerrit-osmo-pcap/261/"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "PROJECT_NAME",
          "value" : "osmo-pcap"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "BRANCH_CI",
          "value" : "master"
        }
      ]
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 0,
      "buildableTimeMillis" : 0,
      "buildingDurationMillis" : 101163,
      "executingTimeMillis" : 101163,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 6496,
      "waitingTimeMillis" : 6496
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 261,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "603c1e44f9e751f6949fa43bc9ac9580235427c2",
            "branch" : [
              {
                "SHA1" : "603c1e44f9e751f6949fa43bc9ac9580235427c2",
                "name" : "master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "603c1e44f9e751f6949fa43bc9ac9580235427c2",
            "branch" : [
              {
                "SHA1" : "603c1e44f9e751f6949fa43bc9ac9580235427c2",
                "name" : "master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "603c1e44f9e751f6949fa43bc9ac9580235427c2",
        "branch" : [
          {
            "SHA1" : "603c1e44f9e751f6949fa43bc9ac9580235427c2",
            "name" : "master"
          }
        ]
      },
      "remoteUrls" : [
        "ssh://jenkins@gerrit.osmocom.org:29418/osmo-pcap"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#261",
  "duration" : 101163,
  "estimatedDuration" : 101162,
  "executor" : None,
  "fullDisplayName" : "gerrit-osmo-pcap-build #261",
  "id" : "261",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 261,
  "queueId" : 150491,
  "result" : "SUCCESS",
  "timestamp" : 1782202718386,
  "url" : "https://jenkins.osmocom.org/jenkins/job/gerrit-osmo-pcap-build/261/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/osmo_tls.c",
          "include/osmo-pcap/osmo_tls.h"
        ],
        "commitId" : "603c1e44f9e751f6949fa43bc9ac9580235427c2",
        "timestamp" : 1782202687000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/fixeria",
          "fullName" : "Vadim Yanitskiy"
        },
        "authorEmail" : "vyanitskiy@sysmocom.de",
        "comment" : "tls: fix broken certificate hostname verification\u000a\u000averify_cert_cb() retrieved the gnutls session pointer and passed it to\u000agnutls_certificate_verify_peers3() as the expected hostname.  But the\u000asession pointer is set to the osmo_tls_session struct (it is needed by\u000acert_callback()), not a hostname string.  Hostname matching was\u000atherefore performed against raw struct bytes, rendering verification\u000ameaningless and potentially reading out of bounds, even when\u000a\"tls verify-cert\" was enabled.\u000a\u000aStore the configured hostname in struct osmo_tls_session and have\u000averify_cert_cb() read it from there.  Also drop the stray\u000agnutls_certificate_verify_peers3() call in the client setup: it ran\u000abefore any handshake (so there were no peer certificates yet) and its\u000aresult was ignored; the real verification happens via the registered\u000acallback during the handshake.\u000a\u000aChange-Id: If64950a698bfcfbf556a37ef1be3e68abc124384\u000aAI-Assisted: yes (Claude)\u000a",
        "date" : "2026-06-23 08:18:07 +0000",
        "id" : "603c1e44f9e751f6949fa43bc9ac9580235427c2",
        "msg" : "tls: fix broken certificate hostname verification",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/osmo_tls.c"
          },
          {
            "editType" : "edit",
            "file" : "include/osmo-pcap/osmo_tls.h"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/fixeria",
      "fullName" : "Vadim Yanitskiy"
    }
  ],
  "runs" : [
    {
      "number" : 261,
      "url" : "https://jenkins.osmocom.org/jenkins/job/gerrit-osmo-pcap-build/a1=default,a2=default,a3=default,a4=default,label=osmocom-gerrit/261/"
    }
  ]
}