changeset 35516 | f0d335e847c5 |
parent 35217 | ce4b5303a813 |
35491:663c609dfeee | 35516:f0d335e847c5 |
---|---|
215 return NULL; |
215 return NULL; |
216 } |
216 } |
217 |
217 |
218 if (strlen(libname) >= sizeof(newlib->name)) { |
218 if (strlen(libname) >= sizeof(newlib->name)) { |
219 print_debug("libname %s too long\n", libname); |
219 print_debug("libname %s too long\n", libname); |
220 free(newlib); |
|
220 return NULL; |
221 return NULL; |
221 } |
222 } |
222 strcpy(newlib->name, libname); |
223 strcpy(newlib->name, libname); |
223 |
224 |
224 newlib->base = base; |
225 newlib->base = base; |