Check if file is actually a file object (#32)
If it is not a file like object, the function would return -1. This would eventually lead to a segmention fault later on.
Showing
Please
register
or
sign in
to comment
If it is not a file like object, the function would return -1. This would eventually lead to a segmention fault later on.