nkzxw / ontl

Automatically exported from code.google.com/p/ontl
0 stars 0 forks source link

<cstring> functions and null pointer constant #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Note that std::basic_string compare functions accept zero-lenght strings 
and/or C-strings even if pointer to C-string buffer equals to `nullptr` 
(without UB as no dereferensing is done).

Original issue reported on code.google.com by icestudent@gmail.com on 5 Nov 2009 at 6:47

GoogleCodeExporter commented 9 years ago
Fixed at r671

Original comment by icestudent@gmail.com on 5 Nov 2009 at 6:48

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r717.

Original comment by icestudent@gmail.com on 24 Nov 2009 at 12:34

GoogleCodeExporter commented 9 years ago

Original comment by icestudent@gmail.com on 24 Nov 2009 at 12:38