Bug 262832 - net/gmid: update to 1.8.2
Summary: net/gmid: update to 1.8.2
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: Neel Chauhan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-26 15:28 UTC by Omar Polo
Modified: 2022-03-27 20:51 UTC (History)
1 user (show)

See Also:


Attachments
update to 1.8.2 (776 bytes, patch)
2022-03-26 15:28 UTC, Omar Polo
no flags Details | Diff
update to 1.8.3 (776 bytes, patch)
2022-03-27 13:25 UTC, Omar Polo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Omar Polo 2022-03-26 15:28:24 UTC
Created attachment 232740 [details]
update to 1.8.2

Hello,

please find attached a diff to update gmid to its latest release (1.8.2).  The changelog is:


Bug Fixes:
    * fix a CGI timing issue: if a connection handled by a CGI scripts
      is interrupted with the right timing it causes the server
      process to exit with "fatal in client_by_id: invalid id X".

New Features:
    * add a new block `type { ... }' to define mime types mapping.

Improvements:
    * use shell built-in `command' instead of which(1), prodded by
      cage and Allen Sobot.
    * configure script: allow to set MANDIR from cmdline (Allen Sobot)
    * add systemd-sysusers sample file in contrib/ (Nakaya)
    * [linux/seccomp] allow fstatat64(2), llseek(2) and sigreturn(2),
      needed by glibc on armv7.  (Tobias Berger)
    * [linux/seccomp] tightens rules by allowing openat(2) only with
      the O_RDONLY flag.

Thanks,

Omar Polo
Comment 1 Omar Polo 2022-03-27 13:25:16 UTC
actually i had to release 1.8.3 shortly after too: there was an out-of-bound access in start_cgi.  attaching an updated diff.

Thanks,

Omar Polo
Comment 2 Omar Polo 2022-03-27 13:25:57 UTC
Created attachment 232760 [details]
update to 1.8.3
Comment 3 Neel Chauhan freebsd_committer freebsd_triage 2022-03-27 20:50:24 UTC
Committed!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-03-27 20:51:20 UTC
A commit in branch main references this bug:

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

commit f5b552345edb95625e930bc84da747ab0f68dbe7
Author:     Omar Polo <freebsd@omarpolo.com>
AuthorDate: 2022-03-27 20:49:31 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-03-27 20:49:31 +0000

    net/gmid: update to 1.8.3

    Bug Fixes:
        * fix a CGI timing issue: if a connection handled by a CGI scripts
          is interrupted with the right timing it causes the server
          process to exit with "fatal in client_by_id: invalid id X".

    New Features:
        * add a new block `type { ... }' to define mime types mapping.

    Improvements:
        * use shell built-in `command' instead of which(1), prodded by
          cage and Allen Sobot.
        * configure script: allow to set MANDIR from cmdline (Allen Sobot)
        * add systemd-sysusers sample file in contrib/ (Nakaya)
        * [linux/seccomp] allow fstatat64(2), llseek(2) and sigreturn(2),
          needed by glibc on armv7.  (Tobias Berger)
        * [linux/seccomp] tightens rules by allowing openat(2) only with
          the O_RDONLY flag.

    PR:     262832

 net/gmid/Makefile | 2 +-
 net/gmid/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)