Bug 267429 - security/gsad: 22.4.0 broken login
Summary: security/gsad: 22.4.0 broken login
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-30 08:48 UTC by Chris Moerz
Modified: 2022-10-30 23:06 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (acm)


Attachments
patch for security/gsad (3.22 KB, patch)
2022-10-30 08:48 UTC, Chris Moerz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Moerz 2022-10-30 08:48:31 UTC
Created attachment 237717 [details]
patch for security/gsad

Login does not work because user name validation regex appears to be broken. I've merged upstream patch from https://github.com/greenbone/gsad/commit/f96d1d75056cae6e1f696fffb36b5250e8a5816b, which appears to fix the issue.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-30 23:05:49 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=db1cf95d315f7052f7fe73e224723df88f266586

commit db1cf95d315f7052f7fe73e224723df88f266586
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-10-30 23:01:31 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-10-30 23:05:16 +0000

    security/gvm: Fix issues with newer version of glib2/pcre2

    PR:             267429
    Reported by:    freebsd _at_ ny-central.org, andrew _at_ tekrealm.net
    Obtained from:  https://github.com/greenbone/gvmd/pull/1867/files

 security/gsad/Makefile                             |  1 +
 security/gsad/files/patch-src_gsad.c (new)         | 51 ++++++++++++++++++++++
 security/gvm/Makefile                              |  2 +-
 security/gvmd/Makefile                             |  5 +--
 security/gvmd/files/patch-src_manage.c             | 15 +++++--
 .../gvmd/files/patch-src_manage_configs.c (new)    | 11 +++++
 .../gvmd/files/patch-src_manage_port_lists.c (new) | 11 +++++
 .../files/patch-src_manage_report_formats.c (new)  | 11 +++++
 security/gvmd/files/patch-src_manage_sql.c         | 47 +++++++++++++++++---
 .../patch-src_manage_sql_report_formats.c (new)    | 19 ++++++++
 security/gvmd/files/patch-src_utils.c              | 13 +++++-
 11 files changed, 172 insertions(+), 14 deletions(-)
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2022-10-30 23:06:21 UTC
Committed thanks!