Rev 3002 | Rev 3048 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3002 | Rev 3003 | ||
---|---|---|---|
Line 156... | Line 156... | ||
156 | next++; /* eat slash */ |
156 | next++; /* eat slash */ |
157 | 157 | ||
158 | while (next <= last && ops->has_children(cur)) { |
158 | while (next <= last && ops->has_children(cur)) { |
159 | /* collect the component */ |
159 | /* collect the component */ |
160 | len = 0; |
160 | len = 0; |
161 | while ((ops->plb_get_char(next) != '/') && (next <= last)) { |
161 | while ((next <= last) && (ops->plb_get_char(next) != '/')) { |
162 | if (len + 1 == NAME_MAX) { |
162 | if (len + 1 == NAME_MAX) { |
163 | /* comopnent length overflow */ |
163 | /* comopnent length overflow */ |
164 | ipc_answer_0(rid, ENAMETOOLONG); |
164 | ipc_answer_0(rid, ENAMETOOLONG); |
165 | goto out; |
165 | goto out; |
166 | } |
166 | } |