Browse thread
Filename checks, nul byte in string, etc...
- Frédéric_Motte
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-09-28 (09:15) |
From: | Frédéric_Motte <fmotte@u...> |
Subject: | Filename checks, nul byte in string, etc... |
Hello ocamlers, Flux on the IRC channel #OCaml on freenode pointed out this documents: http://insecure.org/news/P55-07.txt (and http://programming.reddit.com/info/2tt0k/comments) It would be interresting to check some modules. For example: # open Filename;; # check_suffix "test.a\000.b" "b";; - : bool = true # check_suffix "test.a" "b";; - : bool = false On the unix shell: $ touch test.a Back to ocaml: # open_in "test.a\000.b";; - : in_channel = <abstr> -- Frédéric Motte