Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Error in programs.c, return incorrect NAS name #46

@helpdeskdan

Description

@helpdeskdan
 77     if (STREQ(sym, "name")) {
 78         if (is_valid_name(data->id->NAS_name)) {
 79            return(tac_strdup(data->id->username));
 80         }
 81     }

This should not return username, it should return what it just checked on, NAS_name:

 77     if (STREQ(sym, "name")) {
 78         if (is_valid_name(data->id->NAS_name)) {
 79            return(tac_strdup(data->id->NAS_name));
 80         }
 81     }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions