• Jonathan Jenkins's avatar
    use strcpy in codes_mapping_get_lp_info · 1e7328ef
    Jonathan Jenkins authored
    strncpy might prevent bad internal state from destroying everything, but it
    also writes MAX_NAME_LENGTH bytes unconditionally, clobbering input if it
    isn't long enough. Besides, internal state will only be inconsistent if people
    are trying to call codes_mapping_get_lp_info without configuring in the first
    place...
    1e7328ef
Name
Last commit
Last update
..
iokernellang Loading commit data...
modelconfig Loading commit data...
util Loading commit data...
workload Loading commit data...
Makefile.subdir Loading commit data...