Message253196
Suppose conditions:
- Old linux kernel ignoring flag
- malicious hacker force use of PLAIN FILE instead of directory
On new kernel it will fail
On old kernel it will just open that file!
So, we can make a HACK! Just add last slash to directory name. This will not hurt on new kernels, but protect on old kernels.
tests should also test a case when directory is symlink really. |
|
| Date |
User |
Action |
Args |
| 2015-10-19 21:28:35 | socketpair | set | recipients:
+ socketpair, georg.brandl, ncoghlan, pitrou, vstinner, Arfrever, neologix, python-dev, serhiy.storchaka, josh.r |
| 2015-10-19 21:28:35 | socketpair | set | messageid: <[email protected]> |
| 2015-10-19 21:28:35 | socketpair | link | issue21515 messages |
| 2015-10-19 21:28:35 | socketpair | create | |
|