Bug 3716 - generated ejs code has NULL dereferencing bugs
Summary: generated ejs code has NULL dereferencing bugs
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact: Andrew Bartlett
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-24 09:10 UTC by Stefan Metzmacher
Modified: 2006-04-24 09:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2006-04-24 09:10:18 UTC
see host 'snab' in the farm

just to list one of the bugs:

-- ERROR5     /*dereferencing NULL*/     >>>ERROR5_ejs_push_echo_TestEnum_d76c5b2f2cad0140
"librpc/gen_ndr/ndr_echo_ejs.c", line 406: dereferencing NULL pointer `r->out.foo1'
ONE POSSIBLE PATH LEADING TO THE ERROR:
 "librpc/gen_ndr/ndr_echo_ejs.c", line 393: the if-condition is true (used as evidence that error is possible)
 "librpc/gen_ndr/ndr_echo_ejs.c", line 403: the if-condition is false
 "librpc/gen_ndr/ndr_echo_ejs.c", line 406: getting the value of `*r->out.foo1'

 VALUES AT THE END OF THE PATH:
  r->out.foo3 != 0 
  r->out.foo1 = 0 
  (r->out).foo1 = 0
Comment 1 Jelmer Vernooij 2006-04-24 09:42:30 UTC
Fixed in 15202