[Midnightbsd-cvs] [MidnightBSD/src] 1b657b: msearch: harden argument parsing and sqlite row ha...

Lucas Holt noreply at github.com
Fri May 1 09:41:24 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 1b657bcbcb2d11235514226b84e04bfa8f3364a5
      https://github.com/MidnightBSD/src/commit/1b657bcbcb2d11235514226b84e04bfa8f3364a5
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-01 (Fri, 01 May 2026)

  Changed paths:
    M lib/libmsearch/msearch_fulltext.c
    M lib/libmsearch/msearch_search.c
    M usr.bin/msearch/Makefile
    M usr.bin/msearch/msearch.c
    A usr.bin/msearch/tests/Makefile
    A usr.bin/msearch/tests/msearch_test.sh

  Log Message:
  -----------
  msearch: harden argument parsing and sqlite row handling

Validate -l limit parsing, treat library failures as errors, and add NULL checks for sqlite3_column_text() results. Fix owner lookup to use the row uid. Add basic ATF tests for argument handling.

AI-Assisted-by: GPT-5.2 (Codex CLI)
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list