Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Read data into x?

Taking into account that the file may not exist or error half way?

Taking care that your buffer doesn’t overflow or simply eat all your available ram?

Do you only work with trusted inputs?



Most the time, yeah, actually.

Also- in my experience so far, LLMs do a far better job of accounting for things like this than I do.

For example I had claude 4 write something to recursive search the whole filesystem on a windows 11 machine and included a few checks for windows 11 file system specific things I wasnt aware of




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: