Gedare Bloom started a new discussion on bsps/powerpc/shared/start/motload-gev-net-env.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152549 > + } else { > + printf("error: GEV epics-script: no server delimiter found\n"); > + } > + } > +} > + > +void motload_gev_set_net_envs(uintptr_t nvram_base, const size_t unit, > + const char* label) { > + /* > + * The boot script is parsed for `tftpGet` settings -s -g and -m > + * and the values are used if there are no explictic names set. > + */ > + char var[256]; > + struct gev_net_var vars; > + int r; > + if (unit < 1) { should validate unit <= 256 (sizeof(var)) -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152549 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
