Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d8fbfad authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "lmkd: Avoid potential out of buffer write"

parents 4fea237b 724a1616
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1394,7 +1394,7 @@ static int zoneinfo_parse(struct zoneinfo *zi) {
    char *buf;
    char *save_ptr;
    char *line;
    char zone_name[LINE_MAX];
    char zone_name[LINE_MAX + 1];
    struct zoneinfo_node *node = NULL;
    int node_idx = 0;
    int zone_idx = 0;