Skip to content

server/common : segmentation faults when loading LoRA adapter fails#25611

Open
nmouha wants to merge 1 commit into
ggml-org:masterfrom
nmouha:lora-segfaults
Open

server/common : segmentation faults when loading LoRA adapter fails#25611
nmouha wants to merge 1 commit into
ggml-org:masterfrom
nmouha:lora-segfaults

Conversation

@nmouha

@nmouha nmouha commented Jul 13, 2026

Copy link
Copy Markdown

Overview

Loading an invalid LoRA adapter causes a null pointer dereference in llama-server, and a use-after-free in llama-completion.

Additional information

To reproduce:

echo "BAD!" > bad.gguf
llama-server -hf ggml-org/models-moved --lora bad.gguf
llama-completion -hf ggml-org/models-moved --lora bad.gguf

Requirements

NO

@nmouha nmouha requested review from a team as code owners July 13, 2026 04:34
@ggml-gh-bot

ggml-gh-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

Hi @nmouha, thanks for your contribution!

Per our contribution guidelines, the automated PR checker found the following issue(s) that need your attention:

  • PR Template not respected: Please respect the template when creating a new pull request. Make sure to fill out all required sections.

Please note that maintainers reserve the right to make final decisions on PRs. If you believe there is a mistake, please comment below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants