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

Commit 40aeb3c7 authored by Greg Kaiser's avatar Greg Kaiser Committed by android-build-merger
Browse files

Merge "lmkd: Avoid potential out of buffer write"

am: 3d8fbfad

Change-Id: Id7063aea8c8d5fb380e123af49cb3bb61c7fd449
parents 69564c2e 3d8fbfad
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;