Content-Length: 257449 | pFad | http://github.com/postgrespro/postgres/commit/dfa1cddc4c92cce0c35f926d813894a2b3632c27

EE Avoid scan-build warning about uninitialized htonl() arguments. · postgrespro/postgres@dfa1cdd · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/dfa1cddc4c92cce0c35f926d813894a2b3632c27

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy