Skip to content

Commit 0844c26

Browse files
committed
Add fortified inet_ntop to LibraryFunctions
For symmetry with inet_pton.
1 parent daf63e2 commit 0844c26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/util/library/libraryFunctions.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ let posix_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
358358
("__inet_pton_chk", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "os" []]);
359359
("__inet_pton_chk_warn", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "os" []]);
360360
("inet_ntop", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "size" []]);
361+
("__inet_ntop_alias", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "size" []]);
362+
("__inet_ntop_chk", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "size" []; drop "os" []]);
363+
("__inet_ntop_chk_warn", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "size" []; drop "os" []]);
361364
("gethostent", unknown ~attrs:[ThreadUnsafe] []);
362365
("poll", unknown [drop "fds" [r]; drop "nfds" []; drop "timeout" []]);
363366
("semget", unknown [drop "key" []; drop "nsems" []; drop "semflg" []]);

0 commit comments

Comments
 (0)