Skip to content

Commit dfa1cdd

Browse files
committed
Avoid scan-build warning about uninitialized htonl() arguments.
Josh Kupershmidt
1 parent 03a22f8 commit dfa1cdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/pgcrypto/crypt-des.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,8 @@ des_cipher(const char *in, char *out, long salt, int count)
635635
rawr = ntohl(buffer[1]);
636636

637637
retval = do_des(rawl, rawr, &l_out, &r_out, count);
638+
if (retval)
639+
return (retval);
638640

639641
buffer[0] = htonl(l_out);
640642
buffer[1] = htonl(r_out);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy