File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1398,7 +1398,8 @@ \subsection{NULL Pointers
13981398exception occurred. The reason for not testing for \NULL {}
13991399arguments is that functions often pass the objects they receive on to
14001400other function --- if each function were to test for \NULL {},
1401- there would be a lot of redundant tests and the code would run slower.
1401+ there would be a lot of redundant tests and the code would run more
1402+ slowly.
14021403
14031404It is better to test for \NULL {} only at the `` source'' , i.e.\ when a
14041405pointer that may be \NULL {} is received, e.g.\ from
@@ -1422,7 +1423,13 @@ \subsection{NULL Pointers
14221423calling convention --- this is still found in much existing code.}
14231424
14241425It is a severe error to ever let a \NULL {} pointer `` escape'' to
1425- the Python user.
1426+ the Python user.
1427+
1428+ % Frank Stajano:
1429+ % A pedagogically buggy example, along the lines of the previous listing,
1430+ % would be helpful here -- showing in more concrete terms what sort of
1431+ % actions could cause the problem. I can't very well imagine it from the
1432+ % description.
14261433
14271434
14281435\section {Writing Extensions in \Cpp {}
You can’t perform that action at this time.
0 commit comments