[PATCH] IMFS: don't strlen() an unterminated string in IMFS_dir_read().

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 16 19:23:36 UTC 2015



On 3/16/2015 1:18 PM, Sebastian Huber wrote:
> Thanks for the fix, I checked it in.
I commented on the commit. If there is a missing
NULL at the readdir() point, that means that it
wasn't put there at either creation or rename.

Sounds like this is a necessary patch but covering up
what I think is a bug in both creation and rename since
they don't appear to account for NULL.
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the devel mailing list